drivers/rtc/rtc-rv3029c2.c: fix disabling AIE irq
authorAxel Lin <axel.lin@ingics.com>
Wed, 3 Jul 2013 22:06:45 +0000 (15:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jul 2013 01:14:41 +0000 (18:14 -0700)
commit1cb58457fa8a025e39363ef8496279a30c75f280
tree272e7febbab9c8c7f12df4a5feee934bf51e409d
parent0b9ad5b23c1f4b9443e77c7a12f2cc5720218198
drivers/rtc/rtc-rv3029c2.c: fix disabling AIE irq

commit 29ecd78c0fd6ee05f2c6b07b23823a6ae43c13ff upstream.

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/rtc/rtc-rv3029c2.c