Revert "scsi: ufs: core: Fix clk scaling to be conditional in reset and restore"
This reverts commit 51ba658604
which is
commit 2e083cd802294693a5414e4557a183dd7e442e71 upstream.
It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.
Bug: 161946584
Change-Id: Ic044e2024ec360ae2dcd930bd9f8ee8e0f71a75b
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -7839,8 +7839,7 @@ static int ufshcd_host_reset_and_restore(struct ufs_hba *hba)
|
||||
hba->silence_err_logs = false;
|
||||
|
||||
/* scale up clocks to max frequency before full reinitialization */
|
||||
if (ufshcd_is_clkscaling_supported(hba))
|
||||
ufshcd_scale_clks(hba, ULONG_MAX, true);
|
||||
ufshcd_scale_clks(hba, ULONG_MAX, true);
|
||||
|
||||
err = ufshcd_hba_enable(hba);
|
||||
|
||||
|
Reference in New Issue
Block a user