summaryrefslogtreecommitdiff
path: root/kernel/padata.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-01-22 12:39:25 (GMT)
committerMatthias Brugger <matthias.bgg@gmail.com>2016-02-01 10:28:07 (GMT)
commitcc8ed76938b5cf6a54ab3d60edabaf808dc960d1 (patch)
treebb14934f59d46f1ff3b0bd7e89a3f94116443a22 /kernel/padata.c
parentbe29523da38f959799fddceb25d052e498ab625a (diff)
downloadlinux-cc8ed76938b5cf6a54ab3d60edabaf808dc960d1.tar.xz
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 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions