Re: [PATCH 1/1] scsi: ufs: fix missing clk change notification on host reset

From: Stanley Chu
Date: Mon Jul 11 2022 - 21:30:37 EST


On Mon, 2022-07-11 at 22:42 +0800, Po-Wen Kao wrote:
> In ufshcd_host_reset_and_restore(), ufshcd_set_clk_freq() is called
> to scale clk rate. However, this did not call vops-
> >clk_scale_notify()
> to inform platform driver of clk change.
>
> We propose to call on ufshcd_scale_clks() instead so that clk change
> can be properly handled.
>
> Signed-off-by: Po-Wen Kao <powen.kao@xxxxxxxxxxxx>
> ---

Reviewed-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>