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

Peter Wang (王信友) peter.wang at mediatek.com
Fri Oct 13 02:41:38 PDT 2023


On Wed, 2023-08-30 at 12:43 -0700, Bart Van Assche wrote:
>  	 
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
>  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.

Hi Bart,

Could you help review the new patch.

Thanks.
Peter



More information about the Linux-mediatek mailing list