Skip to content

Commit 00fa824

Browse files
committed
pmdomain: Merge branch rockchip into next
Merge the immutable branch rockchip into next, to allow it to be tested together with the changes that are targeted for v6.15. Signed-off-by: Ulf Hansson <[email protected]>
2 parents 7b76448 + 61eeb96 commit 00fa824

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

drivers/pmdomain/rockchip/pm-domains.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -572,9 +572,10 @@ static void rockchip_do_pmu_set_power_domain(struct rockchip_pm_domain *pd,
572572
}
573573

574574
/* Inform firmware to keep this pd on or off */
575-
arm_smccc_smc(ROCKCHIP_SIP_SUSPEND_MODE, ROCKCHIP_SLEEP_PD_CONFIG,
576-
pmu->info->pwr_offset + pd_pwr_offset,
577-
pd->info->pwr_mask, on, 0, 0, 0, &res);
575+
if (arm_smccc_1_1_get_conduit() != SMCCC_CONDUIT_NONE)
576+
arm_smccc_smc(ROCKCHIP_SIP_SUSPEND_MODE, ROCKCHIP_SLEEP_PD_CONFIG,
577+
pmu->info->pwr_offset + pd_pwr_offset,
578+
pd->info->pwr_mask, on, 0, 0, 0, &res);
578579
}
579580

580581
static int rockchip_pd_power(struct rockchip_pm_domain *pd, bool power_on)

0 commit comments

Comments
 (0)