summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include
diff options
context:
space:
mode:
authorHui Wang <jason77.wang@gmail.com>2011-10-09 17:42:15 +0800
committerShawn Guo <shawn.guo@linaro.org>2011-12-25 12:02:28 +0800
commit010dc8af8f283cc04b7d8f8844f01dd90eca69e5 (patch)
treead80b85d64d57137c6464faf4bd16eb4b393d8b7 /arch/arm/plat-mxc/include
parent5f0a6e2d503896062f641639dacfe5055c2f593b (diff)
downloadtalos-op-linux-010dc8af8f283cc04b7d8f8844f01dd90eca69e5.tar.gz
talos-op-linux-010dc8af8f283cc04b7d8f8844f01dd90eca69e5.zip
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: Hui Wang <jason77.wang@gmail.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/plat-mxc/include')
-rw-r--r--arch/arm/plat-mxc/include/mach/mxc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mxc.h b/arch/arm/plat-mxc/include/mach/mxc.h
index a4d36d601d55..d78298366a91 100644
--- a/arch/arm/plat-mxc/include/mach/mxc.h
+++ b/arch/arm/plat-mxc/include/mach/mxc.h
@@ -168,7 +168,7 @@ struct cpu_op {
u32 cpu_rate;
};
-int tzic_enable_wake(int is_idle);
+int tzic_enable_wake(void);
extern struct cpu_op *(*get_cpu_op)(int *op);
#endif
OpenPOWER on IntegriCloud