[PATCH 4/4] arm: ls1021a: set wakeup devices dynamically for sleep/deep sleep

2015-01-30 Thread Chenhui Zhao
If a device works as a wakeup source, it will keep working in the period of sleep/deep sleep. This patch sets the wakeup devices according to the wakeup attribute of device. Signed-off-by: Chenhui Zhao --- arch/arm/boot/dts/ls1021a.dtsi | 2 + arch/arm/mach-imx/pm-ls1.c | 101

[PATCH 4/4] arm: ls1021a: set wakeup devices dynamically for sleep/deep sleep

2015-01-30 Thread Chenhui Zhao
If a device works as a wakeup source, it will keep working in the period of sleep/deep sleep. This patch sets the wakeup devices according to the wakeup attribute of device. Signed-off-by: Chenhui Zhao chenhui.z...@freescale.com --- arch/arm/boot/dts/ls1021a.dtsi | 2 +