mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-11-04 18:17:40 -05:00
Some rtc-sa1100 bugfixes:
- The read_alarm() method reports the rtc_wkalrm.enabled field properly.
This patch is already in the handhelds.org tree.
- And the set_alarm() method now handles that flag correctly, rather than
making mismatched {en,dis}able_irq_wake() calls, which trigger runtime
warning messages. (Those calls are best made in suspend/resume methods.)
Note that while this SA1100/PXA RTC is fully capable of waking those ARM
processors from sleep states, that mechanism isn't properly supported on
either processor family, or in this driver. Some boards have board-specific
PM glue providing partial workarounds for the weak generic PM support.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
||
|---|---|---|
| .. | ||
| class.c | ||
| hctosys.c | ||
| interface.c | ||
| Kconfig | ||
| Makefile | ||
| rtc-at91rm9200.c | ||
| rtc-cmos.c | ||
| rtc-dev.c | ||
| rtc-ds1307.c | ||
| rtc-ds1553.c | ||
| rtc-ds1672.c | ||
| rtc-ds1742.c | ||
| rtc-ep93xx.c | ||
| rtc-isl1208.c | ||
| rtc-lib.c | ||
| rtc-m48t86.c | ||
| rtc-max6902.c | ||
| rtc-omap.c | ||
| rtc-pcf8563.c | ||
| rtc-pcf8583.c | ||
| rtc-pl031.c | ||
| rtc-proc.c | ||
| rtc-rs5c348.c | ||
| rtc-rs5c372.c | ||
| rtc-s3c.c | ||
| rtc-sa1100.c | ||
| rtc-sh.c | ||
| rtc-sysfs.c | ||
| rtc-test.c | ||
| rtc-v3020.c | ||
| rtc-vr41xx.c | ||
| rtc-x1205.c | ||