]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rtc: pcf50633: consider alrm->enable in pcf50633_rtc_set_alarm
authorWerner Almesberger <werner@openmoko.org>
Wed, 11 Nov 2009 22:26:40 +0000 (14:26 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Nov 2009 15:25:57 +0000 (07:25 -0800)
commit05f45d7d746d07c95588871abf933334856c1a3b
tree47a8e7c84a70dc7e97e0448616b28f1eeb2cb4f7
parent265f2a057bf6b567a32bb16dc8b1765cf0555d9f
rtc: pcf50633: consider alrm->enable in pcf50633_rtc_set_alarm

According to Documentation/rtc.txt, RTC_WKALM_SET sets the alarm time and
enables/disables the alarm.  We implement RTC_WKALM_SET through
pcf50633_rtc_set_alarm.  The enabling/disabling part was missing.

Signed-off-by: Werner Almesberger <werner@openmoko.org>
Reported-by: Michael 'Mickey' Lauer <mickey@openmoko.org>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
Cc: Balaji Rao <balajirrao@openmoko.org>
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>
drivers/rtc/rtc-pcf50633.c