diff options
author | 2023-12-08 12:28:48 +0530 | |
---|---|---|
committer | 2023-12-13 23:03:45 -0500 | |
commit | 3a747c5cf9b6c36649783b28d2ef8f9c92b16a0f (patch) | |
tree | eb25e5bd941d4161cb6168d7a29a99a4b3d0995b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: ufs: qcom: Fix the return value of ufs_qcom_ice_program_key() (diff) | |
download | wireguard-linux-3a747c5cf9b6c36649783b28d2ef8f9c92b16a0f.tar.xz wireguard-linux-3a747c5cf9b6c36649783b28d2ef8f9c92b16a0f.zip |
scsi: ufs: qcom: Fix the return value when platform_get_resource_byname() fails
The return value should be -ENODEV indicating that the resource is not
provided in DT, not -ENOMEM. Fix it!
Fixes: c263b4ef737e ("scsi: ufs: core: mcq: Configure resource regions")
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20231208065902.11006-4-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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions