diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-07-24 06:30:46 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 19:47:34 +0200 |
commit | 449321b39f6c6ebfa15d6da24f134240bd51db29 (patch) | |
tree | 8ec83906bfc53883cf3da71e9e3eb8b2765eb581 /arch/x86/kernel | |
parent | rtc: rtc-s3c: update IRQ handling (diff) | |
download | linux-449321b39f6c6ebfa15d6da24f134240bd51db29.tar.xz linux-449321b39f6c6ebfa15d6da24f134240bd51db29.zip |
rtc-at91rm9200: avoid spurious irqs
This fixes kernel http://bugzilla.kernel.org/show_bug.cgi?id=11112 (bogus
RTC update IRQs reported) for rtc-at91rm9200 by scrubbing old IRQ status
before enabling IRQs.
It also removes nonfunctional periodic IRQ support from this driver;
only update IRQs are reported, or provided by the hardware.
I suspect some other RTCs probably have versions of #11112; it's easy to
overlook, since most non-RTC drivers don't care about spurious IRQs:
they're not reported to userspace.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Report-by: W Unruh <unruh@physics.ubc.ca>
Cc: Andrew Victor <avictor.za@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions