diff options
author | Nishanth Menon <nm@ti.com> | 2016-04-19 11:23:54 -0500 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-04-21 23:21:00 +0200 |
commit | 38a7a73e8ed0fa9e8cd99bb62463afbdcd23429b (patch) | |
tree | 8078a485a2d7737b6ddc3e9f0ec642eeeb818c88 /arch/sh/include/asm/smp.h | |
parent | 9a3dce62cc5640d7ea17733a2bd1b57665c232b0 (diff) | |
download | linux-38a7a73e8ed0fa9e8cd99bb62463afbdcd23429b.tar.gz linux-38a7a73e8ed0fa9e8cd99bb62463afbdcd23429b.tar.bz2 linux-38a7a73e8ed0fa9e8cd99bb62463afbdcd23429b.zip |
rtc: ds1307: Use irq when available for wakeup-source device
With commit 8bc2a40730ec ("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: 8bc2a40730ec ("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>
Diffstat (limited to 'arch/sh/include/asm/smp.h')
0 files changed, 0 insertions, 0 deletions