kernel_optimize_test/drivers/rtc
Derek Basehore 998a06051a drivers/rtc/rtc-cmos.c: work around bios clearing rtc control
The bios may clear the rtc control register when resuming the system. Since the
cmos interrupt handler may now be run before the rtc_cmos is resumed, this can
cause the interrupt handler to ignore an alarm since the alarm bit is not set in
the rtc control register. To work around this, check if the rtc_cmos is
suspended and use the stored value for the rtc control register.

Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Reviewed-by: Sameer Nanda <snanda@chromium.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-03 16:08:00 -07:00
..
class.c
hctosys.c
interface.c drivers/rtc/interface.c: fix checkpatch errors 2013-07-03 16:07:46 -07:00
Kconfig
Makefile
rtc-88pm80x.c rtc: rtc-88pm80x: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:46 -07:00
rtc-88pm860x.c rtc: rtc-88pm860x: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:48 -07:00
rtc-ab3100.c drivers/rtc/rtc-ab3100.c: remove empty function 2013-07-03 16:07:54 -07:00
rtc-ab8500.c drivers/rtc/rtc-ab8500.c: add second resolution to rtc driver 2013-07-03 16:07:59 -07:00
rtc-at32ap700x.c rtc: rtc-at32ap700x: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:49 -07:00
rtc-at91rm9200.c rtc: rtc-at91rm9200: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:49 -07:00
rtc-at91rm9200.h
rtc-at91sam9.c rtc: rtc-at91sam9: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:49 -07:00
rtc-au1xxx.c drivers/rtc/rtc-au1xxx.c: remove empty function 2013-07-03 16:07:54 -07:00
rtc-bfin.c rtc: rtc-bfin: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:49 -07:00
rtc-bq32k.c drivers/rtc/rtc-bq32k.c: remove empty function 2013-07-03 16:07:55 -07:00
rtc-bq4802.c drivers/rtc/rtc-bq4802.c: remove empty function 2013-07-03 16:07:54 -07:00
rtc-cmos.c drivers/rtc/rtc-cmos.c: work around bios clearing rtc control 2013-07-03 16:08:00 -07:00
rtc-coh901331.c rtc: rtc-coh901331: use platform_{get,set}_drvdata() 2013-07-03 16:07:55 -07:00
rtc-core.h
rtc-da9052.c drivers/rtc/rtc-da9052.c: use PTR_RET() 2013-07-03 16:07:59 -07:00
rtc-da9055.c drivers/rtc/rtc-da9055.c: remove empty function 2013-07-03 16:07:54 -07:00
rtc-davinci.c rtc: rtc-davinci: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:50 -07:00
rtc-dev.c
rtc-dm355evm.c drivers/rtc/rtc-dm355evm.c: remove empty function 2013-07-03 16:07:53 -07:00
rtc-ds1216.c drivers/rtc/rtc-ds1216.c: remove empty function 2013-07-03 16:07:55 -07:00
rtc-ds1286.c drivers/rtc/rtc-ds1286.c: remove empty function 2013-07-03 16:07:56 -07:00
rtc-ds1302.c drivers/rtc/rtc-ds1302.c: handle write protection 2013-07-03 16:07:59 -07:00
rtc-ds1305.c drivers/rtc/rtc-ds1305.c: add missing braces around sizeof 2013-07-03 16:07:46 -07:00
rtc-ds1307.c rtc: rtc-ds1307: use devm_*() functions 2013-07-03 16:07:54 -07:00
rtc-ds1374.c drivers/rtc/rtc-ds1374.c: fix spacing related issues 2013-07-03 16:07:46 -07:00
rtc-ds1390.c drivers/rtc/rtc-ds1390.c: remove empty function 2013-07-03 16:07:56 -07:00
rtc-ds1511.c drivers/rtc/rtc-ds1511.c: fix issues related to spaces and braces 2013-07-03 16:07:47 -07:00
rtc-ds1553.c
rtc-ds1672.c drivers/rtc/rtc-ds1672.c: remove empty function 2013-07-03 16:07:56 -07:00
rtc-ds1742.c
rtc-ds2404.c
rtc-ds3232.c
rtc-ds3234.c drivers/rtc/rtc-ds3234.c: remove empty function 2013-07-03 16:07:56 -07:00
rtc-efi.c drivers/rtc/rtc-efi.c: remove empty function 2013-07-03 16:07:56 -07:00
rtc-em3027.c drivers/rtc/rtc-em3027.c: remove empty function 2013-07-03 16:07:56 -07:00
rtc-ep93xx.c rtc: rtc-ep93xx: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:50 -07:00
rtc-fm3130.c drivers/rtc/rtc-fm3130.c: remove empty function 2013-07-03 16:07:56 -07:00
rtc-generic.c drivers/rtc/rtc-generic.c: remove empty function 2013-07-03 16:07:57 -07:00
rtc-hid-sensor-time.c rtc: rtc-hid-sensor-time: allow 16 and 32 bit values for all attributes. 2013-07-03 16:07:54 -07:00
rtc-imxdi.c
rtc-isl1208.c
rtc-isl12022.c drivers/rtc/rtc-isl12022.c: use PTR_RET() 2013-07-03 16:07:59 -07:00
rtc-jz4740.c rtc: rtc-jz4740: use devm_*() functions 2013-07-03 16:07:55 -07:00
rtc-lib.c
rtc-lp8788.c drivers/rtc/rtc-lp8788.c: remove empty function 2013-07-03 16:07:53 -07:00
rtc-lpc32xx.c rtc: rtc-lpc32xx: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:50 -07:00
rtc-ls1x.c drivers/rtc/rtc-ls1x.c: remove empty function 2013-07-03 16:07:53 -07:00
rtc-m41t80.c drivers/rtc/rtc-m41t80.c: fix spacing related issue 2013-07-03 16:07:47 -07:00
rtc-m41t93.c drivers/rtc/rtc-m41t93.c: remove empty function 2013-07-03 16:07:56 -07:00
rtc-m41t94.c drivers/rtc/rtc-m41t94.c: remove empty function 2013-07-03 16:07:57 -07:00
rtc-m48t35.c drivers/rtc/rtc-m48t35.c: use PTR_RET() 2013-07-03 16:07:59 -07:00
rtc-m48t59.c rtc: rtc-m48t59: use devm_*() functions 2013-07-03 16:07:55 -07:00
rtc-m48t86.c drivers/rtc/rtc-m48t86.c: remove empty function 2013-07-03 16:07:53 -07:00
rtc-max6900.c drivers/rtc/rtc-max6900.c: remove empty function 2013-07-03 16:07:57 -07:00
rtc-max6902.c drivers/rtc/rtc-max6902.c: remove empty function 2013-07-03 16:07:57 -07:00
rtc-max8907.c drivers/rtc/rtc-max8907.c: remove empty function 2013-07-03 16:07:57 -07:00
rtc-max8925.c drivers/rtc/rtc-max8925.c: remove empty function 2013-07-03 16:07:53 -07:00
rtc-max8997.c drivers/rtc/rtc-max8997.c: remove empty function 2013-07-03 16:07:57 -07:00
rtc-max8998.c drivers/rtc/rtc-max8998.c: remove empty function 2013-07-03 16:07:53 -07:00
rtc-max77686.c drivers/rtc/rtc-max77686.c: remove empty function 2013-07-03 16:07:57 -07:00
rtc-mc13xxx.c rtc: rtc-mc13xxx: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:51 -07:00
rtc-mpc5121.c drivers/rtc/rtc-mpc5121.c: use platform_{get,set}_drvdata() 2013-07-03 16:07:59 -07:00
rtc-mrst.c
rtc-msm6242.c drivers/rtc/rtc-msm6242.c: remove empty function 2013-07-03 16:07:53 -07:00
rtc-mv.c
rtc-mxc.c rtc: rtc-mxc: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:51 -07:00
rtc-nuc900.c drivers/rtc/rtc-nuc900.c: remove empty function 2013-07-03 16:07:53 -07:00
rtc-omap.c drivers/rtc/rtc-omap.c: include <linux/io.h> instead of <asm/io.h> 2013-07-03 16:07:48 -07:00
rtc-palmas.c
rtc-pcap.c rtc: rtc-pcap: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:51 -07:00
rtc-pcf2123.c drivers/rtc/rtc-pcf2123.c: remove space before tabs 2013-07-03 16:07:48 -07:00
rtc-pcf8523.c drivers/rtc/rtc-pcf8523.c: remove empty function 2013-07-03 16:07:57 -07:00
rtc-pcf8563.c drivers/rtc/rtc-pcf8563.c: use PTR_RET() 2013-07-03 16:07:59 -07:00
rtc-pcf8583.c drivers/rtc/rtc-pcf8583.c: use PTR_RET() 2013-07-03 16:07:59 -07:00
rtc-pcf50633.c
rtc-pl030.c
rtc-pl031.c
rtc-pm8xxx.c rtc: rtc-pm8xxx: use devm_*() functions 2013-07-03 16:07:55 -07:00
rtc-proc.c
rtc-ps3.c drivers/rtc/rtc-ps3.c: remove empty function 2013-07-03 16:07:58 -07:00
rtc-puv3.c rtc: rtc-puv3: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:52 -07:00
rtc-pxa.c rtc: rtc-pxa: use devm_*() functions 2013-07-03 16:07:55 -07:00
rtc-r9701.c
rtc-rc5t583.c rtc: rtc-rc5t583: use platform_{get,set}_drvdata() 2013-07-03 16:07:55 -07:00
rtc-rp5c01.c rtc: rtc-rp5c01: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:52 -07:00
rtc-rs5c313.c drivers/rtc/rtc-rs5c313.c: remove empty function 2013-07-03 16:07:58 -07:00
rtc-rs5c348.c drivers/rtc/rtc-rs5c348.c: remove empty function 2013-07-03 16:07:58 -07:00
rtc-rs5c372.c
rtc-rv3029c2.c drivers/rtc/rtc-rv3029c2.c: remove empty function 2013-07-03 16:07:58 -07:00
rtc-rx4581.c drivers/rtc/rtc-rx4581.c: remove empty function 2013-07-03 16:07:58 -07:00
rtc-rx8025.c rtc: rtc-rx8025: use devm_*() functions 2013-07-03 16:07:55 -07:00
rtc-rx8581.c drivers/rtc/rtc-rx8581.c: remove empty function 2013-07-03 16:07:58 -07:00
rtc-s3c.c rtc: rtc-s3c: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:51 -07:00
rtc-s3c.h
rtc-s35390a.c
rtc-sa1100.c rtc: rtc-sa1100: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:51 -07:00
rtc-sh.c rtc: rtc-sh: use devm_*() functions 2013-07-03 16:07:55 -07:00
rtc-snvs.c drivers/rtc/rtc-snvs.c: remove empty function 2013-07-03 16:07:58 -07:00
rtc-spear.c rtc: rtc-spear: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:52 -07:00
rtc-starfire.c drivers/rtc/rtc-starfire.c: remove empty function 2013-07-03 16:07:58 -07:00
rtc-stk17ta8.c
rtc-stmp3xxx.c rtc: rtc-stmp3xxx: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:52 -07:00
rtc-sun4v.c drivers/rtc/rtc-sun4v.c: remove empty function 2013-07-03 16:07:58 -07:00
rtc-sysfs.c rtc: add ability to push out an existing wakealarm using sysfs 2013-07-03 16:07:54 -07:00
rtc-tegra.c
rtc-test.c
rtc-tile.c drivers/rtc/rtc-tile.c: remove empty function 2013-07-03 16:07:53 -07:00
rtc-tps6586x.c
rtc-tps65910.c
rtc-tps80031.c drivers/rtc/rtc-tps80031.c: remove empty function 2013-07-03 16:07:58 -07:00
rtc-twl.c drivers/rtc/rtc-twl.c: ensure IRQ is wakeup enabled 2013-07-03 16:07:59 -07:00
rtc-tx4939.c
rtc-v3020.c drivers/rtc/rtc-v3020.c: fix spacing issues 2013-07-03 16:07:48 -07:00
rtc-vr41xx.c drivers/rtc/rtc-vr41xx.c: fix error return code in rtc_probe() 2013-07-03 16:07:54 -07:00
rtc-vt8500.c rtc: rtc-vt8500: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:52 -07:00
rtc-wm831x.c drivers/rtc/rtc-wm831x.c: remove empty function 2013-07-03 16:07:59 -07:00
rtc-wm8350.c
rtc-x1205.c drivers/rtc/rtc-x1205.c: fix checkpatch issues 2013-07-03 16:07:48 -07:00
systohc.c