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

Commit 69e489fe authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: crypto fix on QTI ufs"

parents d12142b8 d505199f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2829,7 +2829,7 @@ static int ufshcd_prepare_req_desc_hdr(struct ufshcd_lrb *lrbp,
		dword_0 |= UTP_REQ_DESC_INT_CMD;

	/* Transfer request descriptor header fields */
	if (lrbp->crypto_enable) {
	if (ufshcd_lrbp_crypto_enabled(lrbp)) {
#if IS_ENABLED(CONFIG_SCSI_UFS_CRYPTO)
		dword_0 |= UTP_REQ_DESC_CRYPTO_ENABLE_CMD;
		dword_0 |= lrbp->crypto_key_slot;