Message ID | 20220729045913epcms2p598edffb67d42db84526acce0a5a9ce5d@epcms2p5 (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | scsi: ufs: wb: Add sysfs attribute and cleanup | expand |
On 7/28/22 21:59, Jinyoung CHOI wrote: > The location of the comment is wrong. so fix it. Reviewed-by: Bart Van Assche <bvanassche@acm.org>
diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c index 309f93122078..4120617ff7a6 100644 --- a/drivers/ufs/core/ufshcd.c +++ b/drivers/ufs/core/ufshcd.c @@ -1298,9 +1298,10 @@ static int ufshcd_devfreq_scale(struct ufs_hba *hba, bool scale_up) } } - /* Enable Write Booster if we have scaled up else disable it */ downgrade_write(&hba->clk_scaling_lock); is_writelock = false; + + /* Enable Write Booster if we have scaled up else disable it */ ufshcd_wb_toggle(hba, scale_up); out_unprepare: