RE: [PATCH 3/4] scsi: ufs-mediatek: Fix flag of unipro low-power mode

2020-10-27 Thread Stanley Chu
Hi Avri, On Sat, 2020-09-19 at 08:08 +, Avri Altman wrote: > > > > Forcibly leave UniPro low-power mode if UIC commands is 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

RE: [PATCH 3/4] scsi: ufs-mediatek: Fix flag of unipro low-power mode

2020-09-19 Thread Avri Altman
> > Forcibly leave UniPro low-power mode if UIC commands is 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". Semantically, better leave it u32 as

[PATCH 3/4] scsi: ufs-mediatek: Fix flag of unipro low-power mode

2020-09-08 Thread Stanley Chu
Forcibly leave UniPro low-power mode if UIC commands is 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". Signed-off-by: Stanley Chu ---