Skip to content
Commit 010dc8af authored by Hui Wang's avatar Hui Wang Committed by Shawn Guo
Browse files

ARM: mx5: use generic irq chip pm interface for pm functions on



Two problems exist in the current i.MX5 pm suspend/resume and idle
functions. The first is the current i.MX5 suspend routine will call
tzic_enable_wake(1) to set wake source, this will set all enabled
irq as wake source rather than those wake capable. The second
is i.MX5 idle will call mx5_cpu_lp_set() to prepare enter low power
mode, but it forgets to call wfi instruction to enter this mode.

To fix these two problems, using generic irq chip pm interface and
modify function imx5_idle().

[Tested by Shawn Guo on imx51 babbage board.
 Tested by Hui Wang on imx51 pdk board.]

Signed-off-by: default avatarHui Wang <jason77.wang@gmail.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 5f0a6e2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment