[PATCH v4] ufs: core: fix lockdep warning of clk_scaling_lock

Bart Van Assche bvanassche at acm.org
Thu Jul 28 11:27:18 PDT 2022


On 7/28/22 00:13, Peter Wang wrote:
> Maybe we can have another choice, let vendor decide ufshcd_wb_toggle 
> with clock scaling or not?

I prefer that this code behaves identical for all UFS host controllers 
and all UFS devices. Making this code behave different per vendor would 
make it harder to read and to verify this code.

Thanks,

Bart.



More information about the Linux-mediatek mailing list