mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "scsi: ufs-qcom: Skip getting fsm state in dme context"
This commit is contained in:
commit
cb0f69cb82
1 changed files with 8 additions and 0 deletions
|
|
@ -3106,6 +3106,14 @@ static void ufs_qcom_print_utp_hci_testbus(struct ufs_hba *hba)
|
|||
static void ufshcd_print_fsm_state(struct ufs_hba *hba)
|
||||
{
|
||||
int err = 0, tx_fsm_val = 0, rx_fsm_val = 0;
|
||||
unsigned long flags;
|
||||
|
||||
spin_lock_irqsave(hba->host->host_lock, flags);
|
||||
if (hba->active_uic_cmd) {
|
||||
spin_unlock_irqrestore(hba->host->host_lock, flags);
|
||||
return;
|
||||
}
|
||||
spin_unlock_irqrestore(hba->host->host_lock, flags);
|
||||
|
||||
err = ufshcd_dme_get(hba,
|
||||
UIC_ARG_MIB_SEL(MPHY_TX_FSM_STATE,
|
||||
|
|
|
|||
Loading…
Reference in a new issue