summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Lee <rob.lee@linaro.org>2012-05-21 17:50:25 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2012-06-05 08:48:35 +0200
commiteee4f4003824b0887251a3ba4493217371816a57 (patch)
tree250e0df59c0ed758a52cf5d0b0fb7b9da20fa83c
parent2ce2e4b2b56dd564d27e7aadb92ed0c2342a9c57 (diff)
downloadop-kernel-dev-eee4f4003824b0887251a3ba4493217371816a57.zip
op-kernel-dev-eee4f4003824b0887251a3ba4493217371816a57.tar.gz
ARM: imx: Add comments to tzic_enable_waker()
Add additional comments to the tzic_enable_wake() funciton to clarify its intended usage. Signed-off-by: Robert Lee <rob.lee@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/plat-mxc/tzic.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/tzic.c b/arch/arm/plat-mxc/tzic.c
index 98308ec..a45dbea 100644
--- a/arch/arm/plat-mxc/tzic.c
+++ b/arch/arm/plat-mxc/tzic.c
@@ -190,6 +190,10 @@ void __init tzic_init_irq(void __iomem *irqbase)
* tzic_enable_wake() - enable wakeup interrupt
*
* @return 0 if successful; non-zero otherwise
+ *
+ * This function provides an interrupt synchronization point that is required
+ * by tzic enabled platforms before entering imx specific low power modes (ie,
+ * those low power modes beyond the WAIT_CLOCKED basic ARM WFI only mode).
*/
int tzic_enable_wake(void)
{
OpenPOWER on IntegriCloud