rtc: twl: Use threaded IRQ, remove IRQ enable in interrupt handler
authorTodd Poynor <toddpoynor@google.com>
Wed, 27 Jul 2011 07:07:20 +0000 (07:07 +0000)
committerJason Kridner <jdk@ti.com>
Sat, 3 Sep 2011 21:57:44 +0000 (17:57 -0400)
commit702a9aafc1840483b26c9a43473c08e1064b1974
tree08ec33c853431fb173870a1aaf96e347a2ee7eee
parent54bde7c21aa754d0ffae424af2b808b0d4aeb84e
rtc: twl: Use threaded IRQ, remove IRQ enable in interrupt handler

IRQs disabled on entry to twl_rtc_interrupt is not a consequence
of LOCKDEP; both twl6030 and twl4030 explicitly disable IRQs
before calling the module IRQ handlers.

The ISR should not be enabling IRQs; use a threaded IRQ handler
instead.

Also fixes warnings:

  WARNING: at kernel/irq/handle.c:130 handle_irq_event_percpu+nnn
  irq nnn handler twl_rtc_interrupt+nnn enabled interrupts

Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/rtc/rtc-twl.c