linux/drivers/rtc
Nishanth Menon 38a7a73e8e rtc: ds1307: Use irq when available for wakeup-source device
With commit 8bc2a40730 ("rtc: ds1307: add support for the
DT property 'wakeup-source'") we lost the ability for rtc irq
functionality for devices that are actually hooked on a real IRQ
line and have capability to wakeup as well. This is not an expected
behavior. So, instead of just not requesting IRQ, skip the IRQ
requirement only if interrupts are not defined for the device.

Fixes: 8bc2a40730 ("rtc: ds1307: add support for the DT property 'wakeup-source'")
Reported-by: Tony Lindgren <tony@atomide.com>
Cc: Michael Lange <linuxstuff@milaw.biz>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2016-04-21 23:21:00 +02:00
..
Kconfig rtc: rv3029: stop mentioning rv3029c2 2016-03-15 00:29:33 +01:00
Makefile rtc: merge ds3232 and ds3234 2016-03-14 17:08:35 +01:00
class.c rtc: make class.c explicitly non-modular 2016-03-14 17:08:18 +01:00
hctosys.c
interface.c rtc: Add functions to set and read rtc offset 2016-03-14 17:08:15 +01:00
rtc-88pm80x.c
rtc-88pm860x.c
rtc-ab-b5ze-s3.c
rtc-ab3100.c
rtc-ab8500.c
rtc-abx80x.c rtc: abx80x: handle the oscillator failure bit 2016-03-25 02:41:13 +01:00
rtc-armada38x.c
rtc-as3722.c rtc: as3722: Drop IRQF_EARLY_RESUME flag 2016-03-14 17:08:25 +01:00
rtc-asm9260.c rtc: asm9260: remove incorrect __init/__exit annotations 2016-03-19 00:02:55 +01:00
rtc-at32ap700x.c
rtc-at91rm9200.c
rtc-at91rm9200.h
rtc-at91sam9.c
rtc-au1xxx.c
rtc-bfin.c
rtc-bq32k.c
rtc-bq4802.c
rtc-cmos.c
rtc-coh901331.c
rtc-core.h
rtc-da9052.c
rtc-da9055.c
rtc-da9063.c
rtc-davinci.c
rtc-dev.c
rtc-digicolor.c
rtc-dm355evm.c
rtc-ds1216.c
rtc-ds1286.c
rtc-ds1302.c
rtc-ds1305.c rtc: ds1305: use to_spi_device and kobj_to_dev 2016-02-04 23:44:16 +01:00
rtc-ds1307.c rtc: ds1307: Use irq when available for wakeup-source device 2016-04-21 23:21:00 +02:00
rtc-ds1343.c
rtc-ds1347.c
rtc-ds1374.c
rtc-ds1390.c
rtc-ds1511.c
rtc-ds1553.c
rtc-ds1672.c
rtc-ds1685.c rtc: ds1685: actually spin forever in poweroff error path 2016-03-14 17:08:39 +01:00
rtc-ds1742.c
rtc-ds2404.c
rtc-ds3232.c rtc: ds3232: use rtc->ops_lock to protect alarm operations 2016-03-14 17:08:38 +01:00
rtc-efi-platform.c
rtc-efi.c
rtc-em3027.c
rtc-ep93xx.c
rtc-fm3130.c
rtc-gemini.c
rtc-generic.c rtc: generic: allow building on all architectures 2016-03-14 17:08:31 +01:00
rtc-hid-sensor-time.c
rtc-hym8563.c rtc: hym8563: fix invalid year calculation 2016-03-14 17:08:38 +01:00
rtc-imxdi.c
rtc-isl1208.c
rtc-isl12022.c
rtc-isl12057.c
rtc-jz4740.c
rtc-lib.c
rtc-lp8788.c
rtc-lpc24xx.c
rtc-lpc32xx.c
rtc-ls1x.c
rtc-m41t80.c rtc: m41t80: avoid out of range year values 2016-03-19 00:00:59 +01:00
rtc-m41t93.c
rtc-m41t94.c
rtc-m48t35.c
rtc-m48t59.c
rtc-m48t86.c
rtc-max6900.c
rtc-max6902.c
rtc-max8907.c
rtc-max8925.c
rtc-max8997.c
rtc-max8998.c
rtc-max77686.c rtc: max77686: Use REGMAP_IRQ_REG for regmap-rtc-irqs initialisation 2016-03-14 17:08:27 +01:00
rtc-mc13xxx.c
rtc-mcp795.c rtc: mcp795: add devicetree support 2016-03-21 22:55:29 +01:00
rtc-moxart.c
rtc-mpc5121.c
rtc-mrst.c
rtc-msm6242.c
rtc-mt6397.c rtc: mt6397: Remove plaform module alias 2016-03-14 17:08:26 +01:00
rtc-mv.c
rtc-mxc.c
rtc-nuc900.c
rtc-omap.c
rtc-opal.c
rtc-palmas.c rtc: palmas: Drop IRQF_EARLY_RESUME flag 2016-03-14 17:08:22 +01:00
rtc-pcap.c
rtc-pcf2123.c rtc: pcf2123: implement read_offset and set_offset 2016-03-14 17:08:16 +01:00
rtc-pcf2127.c rtc: pcf2127: add pcf2129 device id 2016-03-14 17:08:41 +01:00
rtc-pcf8523.c rtc: pcf8523: properly handle oscillator stop bit 2016-03-14 17:08:30 +01:00
rtc-pcf8563.c
rtc-pcf8583.c
rtc-pcf50633.c
rtc-pcf85063.c rtc: pcf85063: remove struct pcf85063 2016-03-14 17:08:30 +01:00
rtc-pic32.c rtc: pic32: Add PIC32 real time clock driver 2016-03-14 17:08:21 +01:00
rtc-pl030.c
rtc-pl031.c
rtc-pm8xxx.c
rtc-proc.c
rtc-ps3.c
rtc-puv3.c
rtc-pxa.c
rtc-r9701.c
rtc-rc5t583.c
rtc-rk808.c
rtc-rp5c01.c
rtc-rs5c313.c
rtc-rs5c348.c
rtc-rs5c372.c
rtc-rv3029c2.c rtc: rv3029: Add thermometer hwmon support 2016-03-14 17:08:40 +01:00
rtc-rv8803.c rtc: rv8803: workaround i2c HW issue 2016-03-25 02:38:59 +01:00
rtc-rx4581.c
rtc-rx6110.c rtc: add driver for RX6110SA real time clock 2016-03-14 17:08:10 +01:00
rtc-rx8010.c
rtc-rx8025.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2016-03-17 21:38:27 -07:00
rtc-rx8581.c
rtc-s3c.c rtc: s3c: Don't print an error on probe deferral 2016-03-19 00:00:12 +01:00
rtc-s3c.h
rtc-s5m.c rtc: s5m: De-inline large functions to save space 2016-03-14 17:08:18 +01:00
rtc-s35390a.c
rtc-sa1100.c
rtc-sa1100.h
rtc-sh.c
rtc-sirfsoc.c
rtc-snvs.c
rtc-spear.c
rtc-st-lpc.c
rtc-starfire.c
rtc-stk17ta8.c
rtc-stmp3xxx.c
rtc-sun4v.c
rtc-sun6i.c
rtc-sunxi.c
rtc-sysfs.c rtc: implement a sysfs interface for clock offset 2016-03-14 17:08:16 +01:00
rtc-tegra.c
rtc-test.c
rtc-tile.c
rtc-tps6586x.c rtc: tps6586x: Drop IRQF_EARLY_RESUME flag 2016-03-14 17:08:23 +01:00
rtc-tps65910.c rtc: tps65910: Drop IRQF_EARLY_RESUME flag 2016-03-14 17:08:23 +01:00
rtc-tps80031.c rtc: tps80031: Drop IRQF_EARLY_RESUME flag 2016-03-14 17:08:24 +01:00
rtc-twl.c
rtc-tx4939.c
rtc-v3020.c
rtc-vr41xx.c rtc: vr41xx: Wire up alarm_irq_enable 2016-03-14 17:08:25 +01:00
rtc-vt8500.c
rtc-wm831x.c
rtc-wm8350.c
rtc-x1205.c
rtc-xgene.c
rtc-zynqmp.c
systohc.c