Skip to content

Commit 6f85602

Browse files
committed
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/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents b9cb6be + dba8eb8 commit 6f85602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/soc/mediatek/mtk-pm-domains.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,9 @@ static int scpsys_power_off(struct generic_pm_domain *genpd)
275275
clk_bulk_disable_unprepare(pd->num_subsys_clks, pd->subsys_clks);
276276

277277
/* subsys power off */
278-
regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_RST_B_BIT);
279278
regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_ISO_BIT);
280279
regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_CLK_DIS_BIT);
280+
regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_RST_B_BIT);
281281
regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_2ND_BIT);
282282
regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_BIT);
283283

0 commit comments

Comments
 (0)