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>
Fri, 16 Sep 2011 22:05:32 +0000 (18:05 -0400)
commit07edd9a0a5ec1aec2b2e85f0c5ec64d451c189b7
treee5a4dffd8f1f6640d5d4f43e9a871ee2749b203c
parent47a8f57205253ef3cc329504a6ddea1ddb6ba037
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