diff options
author | Kiwoong Kim <kwmad.kim@samsung.com> | 2022-01-21 14:33:02 +0900 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-01-25 00:03:45 -0500 |
commit | ad6c8a426446873febc98140d81d5353f8c0825b (patch) | |
tree | 79048bdbdc5926427b3959eb3bf946e43d6cd4d0 /fs/nfsd/auth.c | |
parent | 012d98dae453821ac31da25595ffa26d4ad49c8c (diff) | |
download | linux-stable-ad6c8a426446873febc98140d81d5353f8c0825b.tar.gz linux-stable-ad6c8a426446873febc98140d81d5353f8c0825b.tar.bz2 linux-stable-ad6c8a426446873febc98140d81d5353f8c0825b.zip |
scsi: ufs: Use generic error code in ufshcd_set_dev_pwr_mode()
The return value of ufshcd_set_dev_pwr_mode() is passed to device PM
core. However, the function currently returns a SCSI result which the PM
core doesn't understand. This might lead to unexpected behaviors in
userland; a platform reset was observed in Android.
Use a generic error code for SSU failures.
Link: https://lore.kernel.org/r/1642743182-54098-1-git-send-email-kwmad.kim@samsung.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs/nfsd/auth.c')
0 files changed, 0 insertions, 0 deletions