Hebbar Gururaja
1d2e2b65d0
rtc: omap: restore back (hard-code) wakeup support
...
rtc-omap driver modules is used both by OMAP1/2, Davinci SoC platforms.
However, rtc wake support on OMAP1 is broken. Hence the
device_init_wakeup() was removed from rtc-omap driver and moved to
platform board files that supported it (DA850/OMAP-L138). [1]
However, recently [2] it was suggested that driver should always do a
device_init_wakeup(dev, true). Platforms that don't want/need
wakeup support can disable it from userspace via:
echo disabled > /sys/devices/.../power/wakeup
Also, with the new DT boot-up, board file doesn't exist and hence there
is no way to have device wakeup support rtc.
The fix for above issues, is to hard code device_init_wakeup() inside
driver and let platforms that don't need this, handle it through the
sysfs power entry.
[1]
https://patchwork.kernel.org/patch/136731/
[2]
http://www.mail-archive.com/davinci-linux-open-source@linux .
davincidsp.com/msg26077.html
Signed-off-by: Hebbar Gururaja <gururaja.hebbar@ti.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Acked-by: Kevin Hilman <khilman@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
..
2013-07-03 16:08:00 -07:00
2012-10-06 03:05:04 +09:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:07:46 -07:00
2013-07-03 16:07:48 -07:00
2013-07-03 16:07:54 -07:00
2013-07-03 16:07:59 -07:00
2013-07-03 16:07:49 -07:00
2013-07-03 16:07:49 -07:00
2013-04-05 09:36:53 -07:00
2013-07-03 16:07:49 -07:00
2013-07-03 16:07:54 -07:00
2013-07-03 16:07:49 -07:00
2013-07-03 16:07:55 -07:00
2013-07-03 16:07:54 -07:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:07:55 -07:00
2007-05-08 11:15:18 -07:00
2013-07-03 16:07:59 -07:00
2013-07-03 16:07:54 -07:00
2013-07-03 16:07:50 -07:00
2013-02-21 17:22:29 -08:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:07:55 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:59 -07:00
2013-07-03 16:07:46 -07:00
2013-07-03 16:07:54 -07:00
2013-07-03 16:07:46 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:47 -07:00
2013-04-29 18:28:25 -07:00
2013-07-03 16:07:56 -07:00
2013-04-29 18:28:25 -07:00
2013-04-29 18:28:37 -07:00
2013-04-29 18:28:36 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:50 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:54 -07:00
2013-04-29 18:28:25 -07:00
2013-02-05 20:38:49 +11:00
2013-07-03 16:07:59 -07:00
2013-07-03 16:07:55 -07:00
2011-08-26 17:26:35 -07:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:07:50 -07:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:07:47 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:59 -07:00
2013-07-03 16:07:55 -07:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:51 -07:00
2013-07-03 16:07:59 -07:00
2013-01-03 15:57:02 -08:00
2013-07-03 16:07:53 -07:00
2013-04-29 18:28:26 -07:00
2013-07-03 16:07:51 -07:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:07:51 -07:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:59 -07:00
2013-07-03 16:07:59 -07:00
2013-04-29 18:28:38 -07:00
2012-03-23 17:36:29 -07:00
2013-05-24 16:22:52 -07:00
2013-07-03 16:07:55 -07:00
2013-04-09 14:13:32 -04:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:07:52 -07:00
2013-07-03 16:07:55 -07:00
2013-04-29 18:28:34 -07:00
2013-07-03 16:07:55 -07:00
2013-07-03 16:07:52 -07:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:07:58 -07:00
2013-05-07 18:38:26 -07:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:07:55 -07:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:07:51 -07:00
2013-04-19 13:51:25 +02:00
2013-04-29 18:28:38 -07:00
2013-07-03 16:07:51 -07:00
2013-07-03 16:07:55 -07:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:07:52 -07:00
2013-07-03 16:07:58 -07:00
2013-04-29 18:28:27 -07:00
2013-07-03 16:07:52 -07:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:07:54 -07:00
2013-05-18 11:57:07 +02:00
2013-04-29 18:28:31 -07:00
2013-07-03 16:07:53 -07:00
2013-06-12 16:29:45 -07:00
2013-04-29 18:28:33 -07:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:08:00 -07:00
2013-04-29 18:28:27 -07:00
2013-07-03 16:07:48 -07:00
2013-07-03 16:07:54 -07:00
2013-07-03 16:07:52 -07:00
2013-07-03 16:07:59 -07:00
2013-04-29 18:28:32 -07:00
2013-07-03 16:07:48 -07:00
2013-01-15 18:16:06 -08:00