ARM: imx: Add comments to tzic_enable_waker()
authorRobert Lee <rob.lee@linaro.org>
Mon, 21 May 2012 22:50:25 +0000 (17:50 -0500)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 5 Jun 2012 06:48:35 +0000 (08:48 +0200)
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>
arch/arm/plat-mxc/tzic.c

index 98308ec..a45dbea 100644 (file)
@@ -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)
 {