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

Stanley Chu stanley.chu at mediatek.com
Mon Jul 11 18:30:23 PDT 2022


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 at mediatek.com>
> ---

Reviewed-by: Stanley Chu <stanley.chu at mediatek.com>




More information about the Linux-mediatek mailing list