mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 10:32:24 +00:00
If UFS resume fails, the event history is updated in ufshcd_resume(), but
there is no code anywhere to record UFS suspend. Therefore, add code to
record UFS suspend error event history.
Fixes: dd11376b9f ("scsi: ufs: Split the drivers/scsi/ufs directory")
Cc: [email protected]
Signed-off-by: Seunghwan Baek <[email protected]>
Reviewed-by: Peter Wang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>