diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-01-22 12:39:25 (GMT) |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2016-02-01 10:28:07 (GMT) |
commit | cc8ed76938b5cf6a54ab3d60edabaf808dc960d1 (patch) | |
tree | bb14934f59d46f1ff3b0bd7e89a3f94116443a22 /lib/decompress_unxz.c | |
parent | be29523da38f959799fddceb25d052e498ab625a (diff) | |
download | linux-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 'lib/decompress_unxz.c')
0 files changed, 0 insertions, 0 deletions