[PATCH v1 2/3] ufs: core: fix abnormal scale up after last cmd finish

Bart Van Assche bvanassche at acm.org
Wed Aug 30 12:43:24 PDT 2023


On 8/29/23 20:00, Peter Wang (王信友) wrote:
> Second __ufshcd_suspend_clkscaling is called from ufs wl suspend, which no on-going cmd.
> 
> So, it should be not a problem. (cmd finish suspend clock scaling racing with new cmd start busy)

This patch inlines one of the two __ufshcd_suspend_clkscaling() calls.
I think it would be better if both calls are inlined.

Thanks,

Bart.



More information about the Linux-mediatek mailing list