diff options
author | Stanley Chu <stanley.chu@mediatek.com> | 2020-03-27 17:58:35 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-03-31 21:54:15 -0400 |
commit | 1764fa2ab97ade8de7269eb34f2740c54e38fc4a (patch) | |
tree | a649a621451d6a85ec37380396e3518d260a6189 /Kconfig | |
parent | 13e60d3ba287d96eeaf1deaadba51f71578119a3 (diff) | |
download | linux-1764fa2ab97ade8de7269eb34f2740c54e38fc4a.tar.gz linux-1764fa2ab97ade8de7269eb34f2740c54e38fc4a.tar.bz2 linux-1764fa2ab97ade8de7269eb34f2740c54e38fc4a.zip |
scsi: ufs: set device as active power mode after resetting device
Currently ufshcd driver assumes that bInitPowerMode parameter is not
changed by any vendors thus device power mode can be set as "Active" during
initialization.
According to UFS JEDEC specification, device power mode shall be "Active"
after HW Reset is triggered if the bInitPowerMode parameter in Device
Descriptor is default value.
By above description, we can set device power mode as "Active" after device
reset is triggered by vendor's callback. With this change, the link startup
performance can be improved in some cases by not setting link_startup_again
as true in ufshcd_link_startup().
Link: https://lore.kernel.org/r/20200327095835.10293-1-stanley.chu@mediatek.com
Reviewed-by: Can Guo <cang@codeaurora.org>
Reviewed-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions