Loading
UPSTREAM: scsi: ufs: Move ufshcd_get_max_pwr_mode() to ufshcd_device_params_init()
ufshcd_get_max_pwr_mode() only need to be called once while booting, take it out from ufshcd_probe_hba() and inline into ufshcd_device_params_init(). Bug: 151050916 (cherry picked from commit 2b35b2adfecd456c98b9828e03900e7be9f1b33d) Link: https://lore.kernel.org/r/20200120130820.1737-5-huobean@gmail.com Reviewed-by:Stanley Chu <stanley.chu@mediatek.com> Reviewed-by:
Asutosh Das <asutoshd@codeaurora.org> Signed-off-by:
Bean Huo <beanhuo@micron.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by:
Stanley Chu <stanley.chu@mediatek.com> Change-Id: I45bcece2be78cb76fe5e48179db43a65fec6f58c