diff options
author | 2023-12-08 12:28:47 +0530 | |
---|---|---|
committer | 2023-12-13 23:03:45 -0500 | |
commit | 3bf7ab4ac30c03beecf57c052e87d5a38fb8aed6 (patch) | |
tree | dfaaeccbae91b043deca1c515d6895d75feeff3c /tools/perf/scripts/python | |
parent | scsi: ufs: qcom: Use clk_bulk APIs for managing lane clocks (diff) | |
download | wireguard-linux-3bf7ab4ac30c03beecf57c052e87d5a38fb8aed6.tar.xz wireguard-linux-3bf7ab4ac30c03beecf57c052e87d5a38fb8aed6.zip |
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 <abel.vesa@linaro.org>
Fixes: 56541c7c4468 ("scsi: ufs: ufs-qcom: Switch to the new ICE API")
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20231208065902.11006-3-manivannan.sadhasivam@linaro.org
Tested-by: Andrew Halaney <ahalaney@redhat.com> # sa8775p-ride
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions