Skip to content

Commit 43b73a5

Browse files
lategoodbyestorulf
authored andcommitted
pmdomain: bcm2835-power: set flag GENPD_FLAG_ACTIVE_WAKEUP
Set flag GENPD_FLAG_ACTIVE_WAKEUP to bcm2835_power genpd, then when a device is set as wakeup source using device_set_wakeup_enable, the power domain could be kept on to make sure the device could wakeup the system. Signed-off-by: Stefan Wahren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent 503d12a commit 43b73a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pmdomain/bcm/bcm2835-power.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,7 @@ bcm2835_init_power_domain(struct bcm2835_power *power,
520520
}
521521

522522
dom->base.name = name;
523+
dom->base.flags = GENPD_FLAG_ACTIVE_WAKEUP;
523524
dom->base.power_on = bcm2835_power_pd_power_on;
524525
dom->base.power_off = bcm2835_power_pd_power_off;
525526

0 commit comments

Comments
 (0)