Commit 3fb2db6
scsi: ufs: core: Add ufshcd_update_evt_hist() for UFS suspend error
commit c9f36f0 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent a0d4e9e commit 3fb2db6
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10223 | 10223 | | |
10224 | 10224 | | |
10225 | 10225 | | |
10226 | | - | |
| 10226 | + | |
10227 | 10227 | | |
10228 | 10228 | | |
10229 | 10229 | | |
| |||
10235 | 10235 | | |
10236 | 10236 | | |
10237 | 10237 | | |
| 10238 | + | |
| 10239 | + | |
| 10240 | + | |
10238 | 10241 | | |
10239 | 10242 | | |
10240 | 10243 | | |
| |||
0 commit comments