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

Commit 3a468438 authored by Eric Biggers's avatar Eric Biggers Committed by Alistair Delva
Browse files

ANDROID: scsi: ufs-qcom: Enable BROKEN_CRYPTO quirk flag



DragonBoard 845c is currently crashing at boot time because the device
tree doesn't include the UFS crypto registers.  There are likely to be
other issues with the crypto support that will need to be addressed too.

Disable crypto support in ufs-qcom until we can get it working properly.

Bug: 137270441
Change-Id: I54e32fa14431bbbe39f054cda20c646164c687f7
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Signed-off-by: default avatarSatya Tangirala <satyat@google.com>
parent 6f915cf2
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1098,6 +1098,13 @@ static void ufs_qcom_advertise_quirks(struct ufs_hba *hba)
				| UFSHCD_QUIRK_DME_PEER_ACCESS_AUTO_MODE
				| UFSHCD_QUIRK_BROKEN_PA_RXHSUNTERMCAP);
	}

	/*
	 * Inline crypto is currently broken with ufs-qcom at least because the
	 * device tree doesn't include the crypto registers.  There are likely
	 * to be other issues that will need to be addressed too.
	 */
	hba->quirks |= UFSHCD_QUIRK_BROKEN_CRYPTO;
}

static void ufs_qcom_set_caps(struct ufs_hba *hba)