Commit c9f36f0
scsi: ufs: core: Add ufshcd_update_evt_hist() for UFS suspend error
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: dd11376 ("scsi: ufs: Split the drivers/scsi/ufs directory")
Cc: stable@vger.kernel.org
Signed-off-by: Seunghwan Baek <sh8267.baek@samsung.com>
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Link: https://patch.msgid.link/20251210063854.1483899-2-sh8267.baek@samsung.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 0e16776 commit c9f36f0
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10359 | 10359 | | |
10360 | 10360 | | |
10361 | 10361 | | |
10362 | | - | |
| 10362 | + | |
10363 | 10363 | | |
10364 | 10364 | | |
10365 | 10365 | | |
| |||
10371 | 10371 | | |
10372 | 10372 | | |
10373 | 10373 | | |
| 10374 | + | |
| 10375 | + | |
| 10376 | + | |
10374 | 10377 | | |
10375 | 10378 | | |
10376 | 10379 | | |
| |||
0 commit comments