diff options
author | Manivannan Sadhasivam <[email protected]> | 2023-12-08 12:28:47 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-12-13 23:03:45 -0500 |
commit | 3bf7ab4ac30c03beecf57c052e87d5a38fb8aed6 (patch) | |
tree | dfaaeccbae91b043deca1c515d6895d75feeff3c /scripts/generate_rust_analyzer.py | |
parent | 9caef8568831c3e4bff77036d1515c7abb79eb92 (diff) |
scsi: ufs: qcom: Fix the return value of ufs_qcom_ice_program_key()
Currently, the function returns -EINVAL if algorithm other than AES-256-XTS
is requested. But the correct error code is -EOPNOTSUPP. Fix it!
Cc: Abel Vesa <[email protected]>
Fixes: 56541c7c4468 ("scsi: ufs: ufs-qcom: Switch to the new ICE API")
Reviewed-by: Abel Vesa <[email protected]>
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Andrew Halaney <[email protected]> # sa8775p-ride
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions