rtc-spear: fix for balancing the enable_irq_wake in Power Mgmt
authorDeepak Sikri <deepak.sikri@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)
commitcd0e08a8c9fb9c50d182d20e3bc52452c1ce1bfb
treea05e21431c9f8812b3503dc6fe9c966743b0a4c4
parent0e0cb892a8dac7c76321c899934705e5f0812574
rtc-spear: fix for balancing the enable_irq_wake in Power Mgmt

Handle the fix for unbalanced irq for the cases when enable_irq_wake
fails, and a warning related to same is displayed on the console.  The
workaround is handled at the driver level.

Signed-off-by: Deepak Sikri <deepak.sikri@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Cc: Shiraz Hashim <shiraz.hashim@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