Re: [PATCH v1 1/2] scsi: ufs: Use ufshcd_config_pwr_mode() when scale gear
From: Stanley Chu
Date: Thu Feb 13 2020 - 02:54:31 EST
On Tue, 2020-02-11 at 21:38 -0800, Can Guo wrote:
> When scale gear, use ufshcd_config_pwr_mode() instead of
> ufshcd_change_power_mode() so that vops_pwr_change_notify(PRE_CHANGE)
> can be utilized to allow vendors use customized settings before change
> the power mode.
>
> Signed-off-by: Can Guo <cang@xxxxxxxxxxxxxx>
Reviewed-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>