]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/interface.c: fix for fix of alarm initialization
authorAles Novak <alnovak@suse.cz>
Thu, 22 May 2014 00:43:46 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:46 +0000 (10:43 +1000)
commite25375669f670dfc3075553a1581d43b838ffa40
tree190a43ce082c3b6150e926e75df63299c045d673
parent30f6b542940a21d41d8ebfa8c90fe1c057ddc602
drivers/rtc/interface.c: fix for fix of alarm initialization

Seems the previous patch "fix infinite loop in initializing the alarm"
did break the infinite loop in alarm initialization, but not in the right
way. The loop indeed should walk through the not-leap years and stop on
the leap one.

This patch does apply on top of the previous one.

Signed-off-by: Ales Novak <alnovak@suse.cz>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/interface.c