linux/drivers/rtc
David Brownell 743e6a504f rtc: file close() consistently disables repeating irqs
Make the rtc framework consistent about disabling 1/second update IRQs
that may have been activated through the /dev interface, when that /dev
file is closed.  (It may have closed because of coredump, etc.) This was
previously done only for emulated update IRQs ...  now, do it always.

Also comment the current policy: repeating IRQs (periodic, update) that
userspace enabled will be cleanly disabled, but alarms are left alone.
Such repeating IRQs are a constant and pointless system load.

Update some RTC drivers to remove now-needless release() methods.  Most
such methods just enforce that policy.  The others all seem to be buggy,
and mistreat in-kernel clients of periodic or alarm IRQs.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Andrew Sharp <andy.sharp@onstor.com>
Cc: Angelo Castello <angelo.castello@st.com>
Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Cc: Thomas Hommel <thomas.hommel@gefanuc.com>
Acked-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>
2008-10-16 11:21:40 -07:00
..
class.c
hctosys.c
interface.c
Kconfig rtc: add device driver for Dallas DS3234 SPI RTC chip 2008-10-16 11:21:39 -07:00
Makefile rtc: add device driver for Dallas DS3234 SPI RTC chip 2008-10-16 11:21:39 -07:00
rtc-at32ap700x.c
rtc-at91rm9200.c
rtc-at91sam9.c
rtc-bfin.c
rtc-bq4802.c
rtc-cmos.c rtc-cmos: look for PNP RTC first, then for platform RTC 2008-10-14 16:30:14 -07:00
rtc-core.h
rtc-dev.c rtc: file close() consistently disables repeating irqs 2008-10-16 11:21:40 -07:00
rtc-ds1216.c
rtc-ds1286.c MIPS: DS1286: New RTC driver 2008-10-15 12:46:51 +01:00
rtc-ds1302.c
rtc-ds1305.c
rtc-ds1307.c rtc-ds1307: alarm support for ds1337/ds1339 2008-10-16 11:21:39 -07:00
rtc-ds1374.c rtc: DS1374 wakeup support 2008-10-16 11:21:39 -07:00
rtc-ds1511.c rtc: file close() consistently disables repeating irqs 2008-10-16 11:21:40 -07:00
rtc-ds1553.c rtc: file close() consistently disables repeating irqs 2008-10-16 11:21:40 -07:00
rtc-ds1672.c
rtc-ds1742.c
rtc-ds3234.c rtc: add device driver for Dallas DS3234 SPI RTC chip 2008-10-16 11:21:39 -07:00
rtc-ep93xx.c
rtc-fm3130.c
rtc-isl1208.c
rtc-lib.c
rtc-m41t80.c
rtc-m41t94.c
rtc-m48t35.c RTC: M48T35: new RTC driver 2008-10-15 12:46:51 +01:00
rtc-m48t59.c
rtc-m48t86.c
rtc-max6900.c
rtc-max6902.c
rtc-omap.c
rtc-pcf8563.c rtc-pcf8563: remove client validation 2008-10-16 11:21:39 -07:00
rtc-pcf8583.c
rtc-pl030.c rtc: remove some NOP open/release methods 2008-10-16 11:21:39 -07:00
rtc-pl031.c rtc: remove some NOP open/release methods 2008-10-16 11:21:39 -07:00
rtc-ppc.c
rtc-proc.c
rtc-r9701.c
rtc-rs5c313.c
rtc-rs5c348.c
rtc-rs5c372.c rtc: rtc-rs5c372: add support for Ricoh R2025S/D RTC 2008-10-16 11:21:40 -07:00
rtc-s3c.c
rtc-s35390a.c
rtc-sa1100.c
rtc-sh.c rtc: file close() consistently disables repeating irqs 2008-10-16 11:21:40 -07:00
rtc-starfire.c
rtc-stk17ta8.c rtc: file close() consistently disables repeating irqs 2008-10-16 11:21:40 -07:00
rtc-sun4v.c
rtc-sysfs.c
rtc-test.c
rtc-v3020.c
rtc-vr41xx.c
rtc-x1205.c