gpio/nomadik: don't set SLPM to 1 for non-wakeup pins
authorRabin Vincent <rabin.vincent@stericsson.com>
Tue, 26 Apr 2011 03:33:27 +0000 (09:03 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 23 Apr 2012 09:04:49 +0000 (11:04 +0200)
commitb982ff0e9a52553db246f7e171c03e7e0efedbe5
tree5f7085bec7bc00b2b386143775fe7a43e01d675d
parent66f75a5d028beaf67c931435fdc3e7823125730c
gpio/nomadik: don't set SLPM to 1 for non-wakeup pins

Setting GPIOs' SLPM value to 1 (WAKEUP_DISABLE) is seen to cause
increased power consumption in sleep/deep-sleep. So remove the code
which disables SLPM based on the wakeup settings and only ensure
it is on as needed.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-nomadik.c