android_kernel_xiaomi_sm7250/arch/arm/common
Uli Luckas 75d2f18088 [ARM] 3345/1: Fix interday RTC alarms
Patch from Uli Luckas

This is a bugfix.

The comment in arch/arm/common/rtctime.c explains it:
* FIXME: for now, we just copy the alarm time because we're lazy (and
* is therefore buggy - setting a 10am alarm at 8pm will not result in
* the alarm triggering.)

This patch adds one day to the alarm iff the alarm wrapped beyond midnight and therefore appears to be in the past.

Signed-off-by: Uli Luckas <u.luckas@road-gmbh.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-02-22 21:12:07 +00:00
..
dmabounce.c
gic.c
icst307.c
icst525.c
Kconfig [ARM] Separate VIC (vectored interrupt controller) support from Versatile 2006-01-13 21:30:48 +00:00
locomo.c
Makefile [ARM] Separate VIC (vectored interrupt controller) support from Versatile 2006-01-13 21:30:48 +00:00
rtctime.c [ARM] 3345/1: Fix interday RTC alarms 2006-02-22 21:12:07 +00:00
sa1111.c
scoop.c
sharpsl_param.c
sharpsl_pm.c
time-acorn.c
via82c505.c
vic.c [ARM] Separate VIC (vectored interrupt controller) support from Versatile 2006-01-13 21:30:48 +00:00