On Sat, Nov 19 2022 at 20:16 -0800, Powen Kao (高伯文) wrote:
Hi Asutosh,
Reverting the patch doesn't sound feasible on MTK platform ☹
I don't think invoking a clock scaling notification during
ufshcd_host_reset_and_restore() sounds right to me.
But the point is that driver has the right to know that the clk is scaled no matter where ufshcd_scale_clks() is invoked, no?
Do you mind applying this patch on qcom driver to check on host status before further operation?
+ Mani, linux-scsi
Hello Powen
Thanks for the change. I will think of something to work-around the issue.
However, I would like to point out that a change that breaks an existing driver
must be fixed or reverted, not the other way around.
-asd