[PATCH v9 5/8] PCI: imx6: Refine the regulator usage

Bjorn Helgaas helgaas at kernel.org
Wed Jun 8 11:54:53 PDT 2022


On Fri, May 06, 2022 at 09:47:06AM +0800, Richard Zhu wrote:
> The driver should undo any enables it did itself. The regulator disable
> shouldn't be basing decisions on regulator_is_enabled().
> 
> To keep the balance of the regulator usage counter, disable the regulator
> just behind of imx6_pcie_assert_core_reset() in resume and shutdown.

In subject, "Refine" doesn't tell me anything about what's happening
here.



More information about the linux-arm-kernel mailing list