]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
rtc/spear: fix for RTC_AIE_ON and RTC_AIE_OFF ioctl errors
authorShiraz Hashim <shiraz.hashim@st.com>
Fri, 23 Mar 2012 22:02:29 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:38 +0000 (16:58 -0700)
commit131f8b75f1c00a5a822ff2103db588466e942490
tree5d2f0476e3ceacbcecd4af0850fa4fc959819e15
parentcd0e08a8c9fb9c50d182d20e3bc52452c1ce1bfb
rtc/spear: fix for RTC_AIE_ON and RTC_AIE_OFF ioctl errors

Define API for '.alarm_irq_enable' to enable and disable alarm irq. This
is required by the framework else RTC_AIE_ON and RTC_AIE_OFF ioctls
return errors.

Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Cc: Deepak Sikri <deepak.sikri@st.com>
Acked-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-spear.c