RE: [PATCH v2 1/3] scsi: ufs: Add "wb_on" sysfs node to control WB on/off

From: Avri Altman
Date: Mon Dec 07 2020 - 01:53:14 EST


>
> From: Bean Huo <beanhuo@xxxxxxxxxx>
>
> Currently UFS WriteBooster driver uses clock scaling up/down to set
> WB on/off, for the platform which doesn't support
> UFSHCD_CAP_CLK_SCALING,
> WB will be always on. Provide a sysfs attribute to enable/disable WB
> during runtime. Write 1/0 to "wb_on" sysfs node to enable/disable UFS WB.
>
> Signed-off-by: Bean Huo <beanhuo@xxxxxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>