]> git.baikalelectronics.ru Git - kernel.git/commit
bfin: delay IRQ registration until driver is ready
authorMike Frysinger <vapier@gentoo.org>
Tue, 30 Jun 2009 18:41:43 +0000 (11:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Jul 2009 01:56:01 +0000 (18:56 -0700)
commit9c487cab2a6c839680186522ccd1a5c7428b8aec
treed9b80a9768d96f721625b32a2c9559d57dff48da
parent4d4d7212fbb97a14d1e819fad8cb2e780a029620
bfin: delay IRQ registration until driver is ready

Make sure we do not actually request the RTC IRQ until the device driver
is fully ready to handle and process any interrupt.  This way a spurious
interrupt won't crash the system (which may happen if the bootloader was
poking the RTC right before booting Linux).

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-bfin.c