Input: spear_keyboard - fix clock handling during suspend/resume
authorShiraz Hashim <shiraz.hashim@st.com>
Fri, 13 Jul 2012 07:11:10 +0000 (00:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 13 Jul 2012 07:13:29 +0000 (00:13 -0700)
commit53fe628558bab9a11050ba067a09442c92dca6bb
treec8adb4be864e62aa3e2caa6777f543deb4422056
parent9a932145f2d57bad1092ba006dee9065adc5eb39
Input: spear_keyboard - fix clock handling during suspend/resume

SPEAr keyboard should normally disable clock during suspend and enable it
during resume.

For cases where it is expected to act as a wakeup source the clock can
remain in the same state i.e. kept enabled if it is being used.

Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/spear-keyboard.c