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 u
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
From: Yue Hu
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
3 matches
Mail list logo