Re: [PATCH] scsi: ufs: Remove unnecessary if condition in ufshcd_suspend()

2020-11-30 Thread Martin K. Petersen
Bean, > In the case that auto_bkops_enable is false, which means auto bkops > has been disabled, so no need to call ufshcd_disable_auto_bkops(). Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ufs: Remove unnecessary if condition in ufshcd_suspend()

2020-11-25 Thread Can Guo
On 2020-11-26 02:53, Bean Huo wrote: From: Bean Huo In the case that auto_bkops_enable is false, which means auto bkops has been disabled, so no need to call ufshcd_disable_auto_bkops(). Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshcd.c | 4 +--- 1 file changed, 1 insertion(+), 3

Re: [PATCH] scsi: ufs: Remove unnecessary if condition in ufshcd_suspend()

2020-11-25 Thread Stanley Chu
On Wed, 2020-11-25 at 19:53 +0100, Bean Huo wrote: > From: Bean Huo > > In the case that auto_bkops_enable is false, which means auto bkops > has been disabled, so no need to call ufshcd_disable_auto_bkops(). > > Signed-off-by: Bean Huo Reviewed-by: Stanley Chu

[PATCH] scsi: ufs: Remove unnecessary if condition in ufshcd_suspend()

2020-11-25 Thread Bean Huo
From: Bean Huo In the case that auto_bkops_enable is false, which means auto bkops has been disabled, so no need to call ufshcd_disable_auto_bkops(). Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshcd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git