diff options
author | Po-Wen Kao <powen.kao@mediatek.com> | 2022-07-11 17:42:23 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-07-14 06:27:59 +0300 |
commit | 52a518019ca187227b786f8b8ee20869a97f3af4 (patch) | |
tree | 6245d6f5e3dfb54bee4575bd29947590671faf14 /drivers/scsi/nsp32_debug.c | |
parent | 2ae57c995003a7840cb6b5ec5f0c06193695321b (diff) | |
download | linux-52a518019ca187227b786f8b8ee20869a97f3af4.tar.xz |
scsi: ufs: core: Fix missing clk change notification on host reset
In ufshcd_host_reset_and_restore(), ufshcd_set_clk_freq() is called to
scale clock rate. However, this did not call vops->clk_scale_notify() to
inform platform driver of clock change.
Call ufshcd_scale_clks() instead so that clock change can be properly
handled.
Link: https://lore.kernel.org/r/20220711144224.17916-2-powen.kao@mediatek.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Po-Wen Kao <powen.kao@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/nsp32_debug.c')
0 files changed, 0 insertions, 0 deletions