Re: [PATCH] scsi: ufs: Enable WB flush during suspend only if WB is enabled

2020-12-07 Thread Stanley Chu
Hi Bean, On Mon, 2020-12-07 at 11:59 +0100, Bean Huo wrote: > On Mon, 2020-12-07 at 13:50 +0800, Stanley Chu wrote: > > WriteBootser flush during suspend is not necessary to be enabled if > > WriteBooster feature is disabled. Simply adding a check to prevent > > unexpected power drain. > > > > Si

Re: [PATCH] scsi: ufs: Enable WB flush during suspend only if WB is enabled

2020-12-07 Thread Bean Huo
On Mon, 2020-12-07 at 13:50 +0800, Stanley Chu wrote: > WriteBootser flush during suspend is not necessary to be enabled if > WriteBooster feature is disabled. Simply adding a check to prevent > unexpected power drain. > > Signed-off-by: Stanley Chu > --- > drivers/scsi/ufs/ufshcd.c | 2 +- > 1

[PATCH] scsi: ufs: Enable WB flush during suspend only if WB is enabled

2020-12-06 Thread Stanley Chu
WriteBootser flush during suspend is not necessary to be enabled if WriteBooster feature is disabled. Simply adding a check to prevent unexpected power drain. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi