diff options
| author | Shawn Lin <shawn.lin@rock-chips.com> | 2025-11-13 12:52:55 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-11-19 22:33:36 -0500 |
| commit | b0ee72db9132bd19b1b80152b35e0cf6a6cbd9f2 (patch) | |
| tree | fe9efb544747df814d3b65b4688c9c70d6719a7e /rust/proc-macro2/parse.rs | |
| parent | 31e6e7e54b294f1015681ca284c28d37e94a48eb (diff) | |
scsi: ufs: rockchip: Reset controller on PRE_CHANGE of hce enable notify
This fixes the dme-reset failed when doing recovery. Because device
reset is not enough, we could occasionally see the error below:
ufshcd-rockchip 2a2d0000.ufs: uic cmd 0x14 with arg3 0x0 completion timeout
ufshcd-rockchip 2a2d0000.ufs: dme-reset: error code -110
ufshcd-rockchip 2a2d0000.ufs: DME_RESET failed
ufshcd-rockchip 2a2d0000.ufs: ufshcd_host_reset_and_restore: Host init failed -110
Fix this by resetting the controller on PRE_CHANGE stage of hce enable
notify.
Fixes: d3cbe455d6eb ("scsi: ufs: rockchip: Initial support for UFS")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Link: https://patch.msgid.link/1763009575-237552-1-git-send-email-shawn.lin@rock-chips.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/proc-macro2/parse.rs')
0 files changed, 0 insertions, 0 deletions
