2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 13:43:55 +08:00
linux-next/drivers/soc/mediatek
Sascha Hauer cc8ed76938 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>
2016-02-01 11:28:07 +01:00
..
Kconfig soc: Mediatek: Enable SCPSYS power domain driver by default 2015-11-24 10:15:38 -08:00
Makefile soc: Mediatek: Add SCPSYS power domain driver 2015-07-06 18:36:32 +02:00
mtk-infracfg.c soc: mediatek: Add infracfg misc driver support 2015-07-06 18:36:31 +02:00
mtk-pmic-wrap.c soc: mediatek: PMIC wrap: clear the STAUPD_TRIG bit of WDT_SRC_EN 2016-01-25 18:59:41 +01:00
mtk-scpsys.c soc: mediatek: SCPSYS: Fix double enabling of regulators 2016-02-01 11:28:07 +01:00