mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 03:22:37 +00:00
With CONFIG_PM enabled do not call genpd->power_on manually as this will cause the regulators being turned on once in SCPSYS probe and then again when the genpd core turns on the domains. Instead, call genpd->power_on only with CONFIG_PM disabled and tell the genpd core that the domains are disabled when registered. Signed-off-by: Sascha Hauer <[email protected]> Tested-by: Daniel Kurtz <[email protected]> Reviewed-by: Daniel Kurtz <[email protected]> Signed-off-by: Matthias Brugger <[email protected]>