Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9bea3b1b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: provide the quirk to disable the LCC"

parents ccfd42ec 7558f445
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;

+7 −0
Original line number Diff line number Diff line
@@ -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;