]> 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>
Thu, 27 Jun 2013 23:53:19 +0000 (09:53 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:38:37 +0000 (16:38 +1000)
commit1fdc09f93351add8eba7bed69aa217cd201d7d6a
tree1a272bd61f7df4de5a7ffda289e8be3605b38f5d
parent2119bb43b420ecd9f26cf180be4c6430031bdf9b
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