mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
scsi: ufs: crypto fix on QTI ufs
Crypto fix to match v5-v6 update which will allow compilation outside SCSI_UFS_CRYPTO config. Change-Id: Ic722f17c077c2369303c271a0177d665fe6dcae7 Signed-off-by: Gaurav Kashyap <gaurkash@codeaurora.org>
This commit is contained in:
parent
1723ebdd64
commit
d505199fbb
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue