Re: [PATCH v3] scsi: ufs: Tidy up WB configuration code

From: Martin K. Petersen
Date: Wed Mar 24 2021 - 23:55:20 EST


On Thu, 18 Mar 2021 17:55:36 +0800, Yue Hu wrote:

> There are similar code implementations for WB configuration in
> ufshcd_wb_{ctrl, toggle_flush_during_h8, toggle_flush}. We can
> extract the part to create a new helper with a flag parameter to
> reduce code duplication.
>
> Meanwhile, rename ufshcd_wb_ctrl() to ufshcd_wb_toggle() for better
> readability.
>
> [...]

Applied to 5.13/scsi-queue, thanks!

[1/1] scsi: ufs: Tidy up WB configuration code
https://git.kernel.org/mkp/scsi/c/3b5f3c0d0548

--
Martin K. Petersen Oracle Linux Engineering