diff options
author | Arnd Bergmann <arnd@arndb.de> | 2022-12-19 16:47:40 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-12-19 16:47:40 +0100 |
commit | 6f85602d5fdea936077060ca6853587f01716a45 (patch) | |
tree | 89b1894f07cce72c0a787dd919f6d1f5e07b06aa | |
parent | Merge tag 'v6.1-dts64-fixes' of https://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
parent | soc: mediatek: pm-domains: Fix the power glitch issue (diff) | |
download | linux-6f85602d5fdea936077060ca6853587f01716a45.tar.xz linux-6f85602d5fdea936077060ca6853587f01716a45.zip |
Merge tag 'v6.1-soc-fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux into arm/fixes
PM domains: enable isolation before resetting power
* tag 'v6.1-soc-fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux:
soc: mediatek: pm-domains: Fix the power glitch issue
Link: https://lore.kernel.org/r/29c8b913-53cf-096f-fe44-832ceaeac116@suse.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | drivers/soc/mediatek/mtk-pm-domains.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/mediatek/mtk-pm-domains.c b/drivers/soc/mediatek/mtk-pm-domains.c index 09e3c38b8466..474b272f9b02 100644 --- a/drivers/soc/mediatek/mtk-pm-domains.c +++ b/drivers/soc/mediatek/mtk-pm-domains.c @@ -275,9 +275,9 @@ static int scpsys_power_off(struct generic_pm_domain *genpd) clk_bulk_disable_unprepare(pd->num_subsys_clks, pd->subsys_clks); /* subsys power off */ - regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_RST_B_BIT); regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_ISO_BIT); regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_CLK_DIS_BIT); + regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_RST_B_BIT); regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_2ND_BIT); regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_BIT); |