FROMLIST: ufs: core: fix the issue of ICU failure
When setting the ICU bit without using read-modify-write, SQRTCy will restart SQ again and receive an RTC return error code 2 (Failure - SQ not stopped). Additionally, the error log has been modified so that this type of error can be observed. Bug: 373785306 Fixes: ab248643 ("scsi: ufs: core: Add error handling for MCQ mode") Change-Id: I46fca8eaeaa17c622349b26f97fc100aa182dea2 Signed-off-by:Peter Wang <peter.wang@mediatek.com> Reviewed-by:
Bao D. Nguyen <quic_nguyenb@quicinc.com> Reviewed-by:
Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/all/20241001091917.6917-2-peter.wang@mediatek.com/
Loading