]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-rv3029c2.c: fix disabling AIE irq
authorAxel Lin <axel.lin@ingics.com>
Fri, 7 Jun 2013 00:09:08 +0000 (10:09 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:42:58 +0000 (15:42 +1000)
commit76a20493c5aebac8b1b864d30df36eeb84634b6e
treeed5d07c3c04f53d5cd94eccd8539ed2c4e30f274
parent760668431cc74c89923f66e4072dc73ead8f0725
drivers/rtc/rtc-rv3029c2.c: fix disabling AIE irq

In the disable AIE irq code path, current code passes "1" to enable
parameter of rv3029c2_rtc_i2c_alarm_set_irq().  Thus it does not disable
AIE irq.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Heiko Schocher <hs@denx.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-rv3029c2.c