]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rtc-at32ap700x: fix irq init oops
authorDavid Brownell <david-b@pacbell.net>
Tue, 18 Dec 2007 00:19:50 +0000 (16:19 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 18 Dec 2007 03:28:15 +0000 (19:28 -0800)
commit8d431dbef4e63d54f1965c3ed6ca5f91ee4512de
tree47683f614c6d3c8d07d55bc4b03169e189ffe8fa
parentfe4304baf26e9580ada52e4579b1b7273434d8dd
rtc-at32ap700x: fix irq init oops

Reorder at32_rtc_probe() so that it's safe (no oopsing) to fire the
IRQ handler the instant that it's registered.  (Bug noted via "Debug
shared IRQ handlers" kernel debug option.)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: <hcegtvedt@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-at32ap700x.c