diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-03 19:05:13 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-09 15:34:48 +0000 |
commit | a22db0f38243f68957c89b1b9689a2064507bed6 (patch) | |
tree | bf6f6c2b19f247a46c12b943aa8d09d108f49c6b /drivers/input/misc/cobalt_btns.c | |
parent | 29c140b623ce2c55131c6d1c26a2f3e455723b81 (diff) | |
download | blackbird-op-linux-a22db0f38243f68957c89b1b9689a2064507bed6.tar.gz blackbird-op-linux-a22db0f38243f68957c89b1b9689a2064507bed6.zip |
ARM: sa1111: fix PWM state on suspend
We should not write to the SA1111 registers after setting the SLEEP
bit. Moreover, the manual says that the PWM registers should be
disabled before we enter sleep. So, move the clearing of these
registers earlier in the suspend sequence.
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/input/misc/cobalt_btns.c')
0 files changed, 0 insertions, 0 deletions