diff options
author | Subhash Jadavani <[email protected]> | 2020-03-26 02:25:40 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-03-29 18:10:58 -0400 |
commit | 394b949f2d919cef8e2ff490862572c74df09de8 (patch) | |
tree | 43bc7470ab11bc612ea04da61a42e3eb491a8339 /lib/mpi/mpiutil.c | |
parent | d75e119e60ceaaaaf32624f5a82842df4d78aed7 (diff) |
scsi: ufs: Clean up ufshcd_scale_clks() and clock scaling error out path
This change introduces a func ufshcd_set_clk_freq() to explicitly set clock
frequency so that it can be used in reset_and_restore path and in
ufshcd_scale_clks(). This change also cleans up the clock scaling error out
path.
[mkp: commit desc]
Link: https://lore.kernel.org/r/[email protected]
Fixes: a3cd5ec55f6c ("scsi: ufs: add load based scaling of UFS gear")
Reviewed-by: Bean Huo <[email protected]>
Acked-by: Avri Altman <[email protected]>
Signed-off-by: Subhash Jadavani <[email protected]>
Signed-off-by: Can Guo <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions