linux-kernel-test/drivers/rtc
Laxman Dewangan 225ccc2872 drivers/rtc/rtc-tps65910.c: set irq flag to IRQF_EARLY_RESUME during irq request
All interrupt get disabled during system suspend and enabled during system
resume.  The enabling/disabling of interrupt happen in sequence of
interrupt registration with framework.

Therefore, in resume, the parent interrupt of this device enabled before
the RTC irq interrupt enabled.  If RTC is enabled for alarm wake and if
system wake by alarm then there is interrupt pending for RTC.  In resume,
the parent interrupt get enabled before the rtc interrupt and hence ISR
get served.  In ISR, it founds that rtc interrupt is disabled and so it
does not call the rtc isr handler and hence it misses the interrupt.

Setting flag for early resume so that rtc interrupt get enabled before
parent interrupt and so rtc interrupt get enabled when parent interrupt
handler check for interrupt of device and call the rtc handler if it is
there.  This way it will not miss the interrupt.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-02-21 17:22:28 -08:00
..
class.c Merge branch 'fortglx/3.9/time' of git://git.linaro.org/people/jstultz/linux into timers/core 2013-02-04 11:03:03 +01:00
hctosys.c rtc_sysfs_show_hctosys(): display 0 if resume failed 2012-10-06 03:05:04 +09:00
interface.c RTC: Avoid races between RTC alarm wakeup and suspend. 2012-08-08 20:49:16 +02:00
Kconfig rtc: add RTC driver for TPS80031/TPS80032 2013-02-21 17:22:28 -08:00
Makefile rtc: add RTC driver for TPS80031/TPS80032 2013-02-21 17:22:28 -08:00
rtc-88pm80x.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-88pm860x.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-ab3100.c
rtc-ab8500.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-at32ap700x.c
rtc-at91rm9200.c arm: at91: move at91rm9200 rtc header in drivers/rtc 2012-11-06 20:30:52 +08:00
rtc-at91rm9200.h arm: at91: move at91rm9200 rtc header in drivers/rtc 2012-11-06 20:30:52 +08:00
rtc-at91sam9.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-au1xxx.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-bfin.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-bq32k.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-bq4802.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-cmos.c drivers/rtc: use of_match_ptr() macro 2013-02-21 17:22:27 -08:00
rtc-coh901331.c drivers/rtc/rtc-coh901331.c: use clk_prepare_enable() and clk_disable_unprepare() 2012-10-06 03:05:04 +09:00
rtc-core.h
rtc-da9052.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-da9055.c drivers/rtc/rtc-da9055.c: fix cross-section reference 2013-01-11 14:54:54 -08:00
rtc-davinci.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-dev.c drivers/rtc/rtc-dev.c: remove unused code from rtc-dev.c 2012-12-17 17:15:21 -08:00
rtc-dm355evm.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-ds1216.c
rtc-ds1286.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-ds1302.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-ds1305.c drivers/rtc: dump small buffers via %*ph 2013-02-21 17:22:27 -08:00
rtc-ds1307.c drivers/rtc: dump small buffers via %*ph 2013-02-21 17:22:27 -08:00
rtc-ds1374.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-ds1390.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-ds1511.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-ds1553.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-ds1672.c drivers/rtc/rtc-ds1672.c: convert struct i2c_msg initialization to C99 format 2012-10-06 03:05:05 +09:00
rtc-ds1742.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-ds2404.c drivers/rtc/rtc-ds2404.c: use module_platform_driver macro 2013-02-21 17:22:27 -08:00
rtc-ds3232.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-ds3234.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-efi.c drivers/rtc/rtc-efi.c: fix section mismatch warning 2012-04-12 13:12:12 -07:00
rtc-em3027.c drivers/rtc/rtc-em3027.c: convert struct i2c_msg initialization to C99 format 2012-10-06 03:05:07 +09:00
rtc-ep93xx.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-fm3130.c drivers/rtc: dump small buffers via %*ph 2013-02-21 17:22:27 -08:00
rtc-generic.c
rtc-imxdi.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-isl1208.c drivers/rtc/rtc-isl1208.c: call rtc_update_irq() from the alarm irq handler 2013-02-05 20:38:49 +11:00
rtc-isl12022.c drivers/rtc: remove unnecessary semicolons 2013-02-21 17:22:27 -08:00
rtc-jz4740.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-lib.c rtc: Initialized rtc_time->tm_isdst 2011-08-26 17:26:35 -07:00
rtc-lp8788.c rtc: add new lp8788 rtc driver 2013-02-21 17:22:27 -08:00
rtc-lpc32xx.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-ls1x.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-m41t80.c drivers/rtc/rtc-m41t80.c: remove disabled alarm functionality 2012-10-06 03:05:07 +09:00
rtc-m41t93.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-m41t94.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-m48t35.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-m48t59.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-m48t86.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-max6900.c rtc: convert rtc i2c drivers to module_i2c_driver 2012-03-23 16:58:39 -07:00
rtc-max6902.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-max8907.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-max8925.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-max8998.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-max77686.c rtc: max77686: add Maxim 77686 driver 2013-02-21 17:22:27 -08:00
rtc-mc13xxx.c rtc/mc13xxx: add support for the rtc in the mc34708 pmic 2012-07-30 17:25:18 -07:00
rtc-mpc5121.c drivers/rtc: use of_match_ptr() macro 2013-02-21 17:22:27 -08:00
rtc-mrst.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-msm6242.c
rtc-mv.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-mxc.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-nuc900.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-omap.c rtc: omap: add runtime pm support 2012-12-17 17:15:20 -08:00
rtc-pcap.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-pcf2123.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-pcf8523.c rtc-pcf8523: add low battery voltage support 2013-02-21 17:22:27 -08:00
rtc-pcf8563.c drivers/rtc: remove unnecessary semicolons 2013-02-21 17:22:27 -08:00
rtc-pcf8583.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-pcf50633.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-pl030.c Merge branch 'amba' of git://git.linaro.org/people/rmk/linux-arm 2012-03-23 17:36:29 -07:00
rtc-pl031.c drivers/rtc/rtc-pl031.c: restore ST variant functionality 2013-02-12 14:34:00 -08:00
rtc-pm8xxx.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-proc.c rtc-proc: permit the /proc/driver/rtc device to use other devices 2012-10-06 03:05:01 +09:00
rtc-ps3.c
rtc-puv3.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-pxa.c drivers/rtc/rtc-pxa.c: avoid cpuid checking 2013-02-21 17:22:27 -08:00
rtc-r9701.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-rc5t583.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-rp5c01.c
rtc-rs5c313.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-rs5c348.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-rs5c372.c drivers/rtc/rtc-rs5c372.c: convert struct i2c_msg initialization to C99 format 2012-10-06 03:05:06 +09:00
rtc-rv3029c2.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-rx8025.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-rx8581.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-s3c.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-s35390a.c drivers/rtc/rtc-s35390a.c: add wakealarm support for rtc-s35390A rtc chip 2012-10-06 03:05:08 +09:00
rtc-sa1100.c drivers/rtc: use of_match_ptr() macro 2013-02-21 17:22:27 -08:00
rtc-sh.c drivers/rtc: remove IRQF_DISABLED 2012-03-23 16:58:39 -07:00
rtc-snvs.c drivers/rtc: use of_match_ptr() macro 2013-02-21 17:22:27 -08:00
rtc-spear.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-starfire.c
rtc-stk17ta8.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-stmp3xxx.c drivers/rtc: use of_match_ptr() macro 2013-02-21 17:22:27 -08:00
rtc-sun4v.c
rtc-sysfs.c rtc_sysfs_show_hctosys(): display 0 if resume failed 2012-10-06 03:05:04 +09:00
rtc-tegra.c drivers/rtc/rtc-tegra.c: convert to DT driver 2013-01-04 16:11:45 -08:00
rtc-test.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-tile.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-tps6586x.c rtc: add RTC driver for TPS6586x 2013-01-04 16:11:48 -08:00
rtc-tps65910.c drivers/rtc/rtc-tps65910.c: set irq flag to IRQF_EARLY_RESUME during irq request 2013-02-21 17:22:28 -08:00
rtc-tps80031.c rtc: add RTC driver for TPS80031/TPS80032 2013-02-21 17:22:28 -08:00
rtc-twl.c drivers/rtc: use of_match_ptr() macro 2013-02-21 17:22:27 -08:00
rtc-tx4939.c drivers/rtc: remove IRQF_DISABLED 2012-03-23 16:58:39 -07:00
rtc-v3020.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-vr41xx.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-vt8500.c drivers/rtc/rtc-vt8500.c: fix year field in vt8500_rtc_set_time() 2013-02-05 20:38:47 +11:00
rtc-wm831x.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-wm8350.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-x1205.c drivers/rtc/rtc-x1205.c: convert struct i2c_msg initialization to C99 format 2012-10-06 03:05:05 +09:00
systohc.c NTP: Add a CONFIG_RTC_SYSTOHC configuration 2013-01-15 18:16:06 -08:00