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

From: Martin K. Petersen
Date: Thu Mar 18 2021 - 22:35:50 EST



Yue,

> 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.

Applied to 5.13/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering