Loading drivers/scsi/ufs/ufshcd.c +1 −1 Original line number Diff line number Diff line Loading @@ -2870,7 +2870,7 @@ static int ufshcd_link_startup(struct ufs_hba *hba) if (ret) { /* failed to get the link up... retire */ goto out; } else { } else if (hba->quirks & UFSHCD_BROKEN_LCC) { int hc_tx_lanes; int i; Loading drivers/scsi/ufs/ufshcd.h +7 −0 Original line number Diff line number Diff line Loading @@ -481,6 +481,13 @@ struct ufs_hba { #define UFSHCD_QUIRK_BROKEN_2_TX_LANES (1 << 8) /* * If LCC (Line Control Command) are having issue on the host * controller then enable this quirk. Note that connected UFS device * should also have workaround to not expect LCC commands from host. */ #define UFSHCD_BROKEN_LCC (1 << 9) wait_queue_head_t tm_wq; wait_queue_head_t tm_tag_wq; unsigned long tm_condition; Loading Loading
drivers/scsi/ufs/ufshcd.c +1 −1 Original line number Diff line number Diff line Loading @@ -2870,7 +2870,7 @@ static int ufshcd_link_startup(struct ufs_hba *hba) if (ret) { /* failed to get the link up... retire */ goto out; } else { } else if (hba->quirks & UFSHCD_BROKEN_LCC) { int hc_tx_lanes; int i; Loading
drivers/scsi/ufs/ufshcd.h +7 −0 Original line number Diff line number Diff line Loading @@ -481,6 +481,13 @@ struct ufs_hba { #define UFSHCD_QUIRK_BROKEN_2_TX_LANES (1 << 8) /* * If LCC (Line Control Command) are having issue on the host * controller then enable this quirk. Note that connected UFS device * should also have workaround to not expect LCC commands from host. */ #define UFSHCD_BROKEN_LCC (1 << 9) wait_queue_head_t tm_wq; wait_queue_head_t tm_tag_wq; unsigned long tm_condition; Loading