diff options
author | Stanley Chu <stanley.chu@mediatek.com> | 2020-09-08 14:45:06 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-09-08 22:49:54 -0400 |
commit | 9a9ddb8a3a6d247321dfd4b07a04e3f2e92e576f (patch) | |
tree | 479a111017685388714374f24a88993d8a5904f9 /drivers/scsi/ufs/ufs-mediatek.h | |
parent | a3e40b80dc951057033dce86f0e675b2b822b513 (diff) |
scsi: ufs: ufs-mediatek: Fix flag of unipro low-power mode
Forcibly leave UniPro low-power mode if UIC commands failed. This makes
hba_enable_delay_us as correct (default) value for re-enabling the host.
At the same time, change type of parameter "lpm" in function
ufs_mtk_unipro_set_pm() to "bool".
Link: https://lore.kernel.org/r/20200908064507.30774-4-stanley.chu@mediatek.com
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufs-mediatek.h')
0 files changed, 0 insertions, 0 deletions