scsi: ufs-msm: change the vendor preferable power mode
As working with new UFS devices, and new version of FW, we were able to work in a higher gear, and to maintain stability. In this change the preferable values of the vendor power modes are set to be HS-G2. Also, a few minor indentation fixes are added. Change-Id: I34d4836894b9d48085bbe2aa31a6f2d92661fb3d Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
This commit is contained in:
parent
9539c166fa
commit
4a0b4e04d2
1 changed files with 6 additions and 6 deletions
|
@ -1433,19 +1433,19 @@ static int msm_ufs_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op)
|
|||
}
|
||||
|
||||
/* vendor specific pre-defined parameters */
|
||||
#define SLOW 1
|
||||
#define SLOW 1
|
||||
#define FAST 2
|
||||
|
||||
#define UFS_MSM_LIMIT_NUM_LANES_RX 1
|
||||
#define UFS_MSM_LIMIT_NUM_LANES_RX 2
|
||||
#define UFS_MSM_LIMIT_NUM_LANES_TX 1
|
||||
#define UFS_MSM_LIMIT_HSGEAR_RX UFS_HS_G1
|
||||
#define UFS_MSM_LIMIT_HSGEAR_TX UFS_HS_G1
|
||||
#define UFS_MSM_LIMIT_HSGEAR_RX UFS_HS_G2
|
||||
#define UFS_MSM_LIMIT_HSGEAR_TX UFS_HS_G2
|
||||
#define UFS_MSM_LIMIT_PWMGEAR_RX UFS_PWM_G4
|
||||
#define UFS_MSM_LIMIT_PWMGEAR_TX UFS_PWM_G4
|
||||
#define UFS_MSM_LIMIT_RX_PWR_PWM SLOW_MODE
|
||||
#define UFS_MSM_LIMIT_TX_PWR_PWM SLOW_MODE
|
||||
#define UFS_MSM_LIMIT_RX_PWR_HS FAST_MODE
|
||||
#define UFS_MSM_LIMIT_TX_PWR_HS FAST_MODE
|
||||
#define UFS_MSM_LIMIT_RX_PWR_HS FAST_MODE
|
||||
#define UFS_MSM_LIMIT_TX_PWR_HS FAST_MODE
|
||||
#define UFS_MSM_LIMIT_HS_RATE PA_HS_MODE_A
|
||||
#define UFS_MSM_LIMIT_DESIRED_MODE FAST
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue