diff options
author | Kiwoong Kim <[email protected]> | 2022-01-21 14:33:02 +0900 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-01-25 00:03:45 -0500 |
commit | ad6c8a426446873febc98140d81d5353f8c0825b (patch) | |
tree | 79048bdbdc5926427b3959eb3bf946e43d6cd4d0 /scripts/gdb/linux | |
parent | 012d98dae453821ac31da25595ffa26d4ad49c8c (diff) |
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/[email protected]
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Kiwoong Kim <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions