aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-01-22 13:39:25 +0100
committerMatthias Brugger <matthias.bgg@gmail.com>2016-02-01 11:28:07 +0100
commitcc8ed76938b5cf6a54ab3d60edabaf808dc960d1 (patch)
treebb14934f59d46f1ff3b0bd7e89a3f94116443a22 /lib
parentsoc: mediatek: SCPSYS: use builtin_platform_driver (diff)
downloadlinux-dev-cc8ed76938b5cf6a54ab3d60edabaf808dc960d1.tar.xz
linux-dev-cc8ed76938b5cf6a54ab3d60edabaf808dc960d1.zip
soc: mediatek: SCPSYS: Fix double enabling of regulators
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 <s.hauer@pengutronix.de> Tested-by: Daniel Kurtz <djkurtz@chromium.org> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions