[PATCH v2 1/2] ufs: core: fix the issue of ICU failure

Bao D. Nguyen quic_nguyenb at quicinc.com
Fri Sep 6 13:39:18 PDT 2024


On 9/1/2024 7:18 PM, peter.wang at mediatek.com wrote:

>   	/* SQRTCy.ICU = 1 */
> -	writel(SQ_ICU, opr_sqd_base + REG_SQRTC);
> +	writel(readl(opr_sqd_base + REG_SQRTC) | SQ_ICU,
> +		opr_sqd_base + REG_SQRTC);
Hi Peter,
Instead of readl() here, how about write (SQ_STOP | SQ_ICU) to SQRTC?

Thanks, Bao



More information about the Linux-mediatek mailing list