From: Bean Huo <beanhuo@xxxxxxxxxx> Changelog: v1--v2: 1. Take is_hibern8_wb_flush checkup out from function ufshcd_wb_need_flush() in patch 2/3 2. Add UFSHCD_CAP_CLK_SCALING checkup in patch 1/3. that means only for the platform, which doesn't support UFSHCD_CAP_CLK_SCALING, can control WB through "wb_on". Bean Huo (3): scsi: ufs: Add "wb_on" sysfs node to control WB on/off scsi: ufs: Keep device active mode only fWriteBoosterBufferFlushDuringHibernate == 1 scsi: ufs: Changes comment in the function ufshcd_wb_probe() drivers/scsi/ufs/ufs-sysfs.c | 40 ++++++++++++++++++++++++++++++++++++ drivers/scsi/ufs/ufs.h | 2 ++ drivers/scsi/ufs/ufshcd.c | 30 +++++++++++++++++---------- drivers/scsi/ufs/ufshcd.h | 2 ++ 4 files changed, 63 insertions(+), 11 deletions(-) -- 2.17.1