]> git.karo-electronics.de Git - linux-beck.git/commit
plat-nomadik: pull-up/down settings for GPIO resume
authorJonas Aaberg <jonas.aberg@stericsson.com>
Wed, 13 Oct 2010 11:14:17 +0000 (13:14 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Mar 2011 13:05:15 +0000 (14:05 +0100)
commit9c66ee6f55667c5f7e118135d3175b0100e160b9
tree2324b4b8ac963526c266e4883be07d15e85ffd3e
parent33b744b35189baaa260f526cf117392095331843
plat-nomadik: pull-up/down settings for GPIO resume

Suspend/resume didn't take care of pull-up and pull-down
settings and writing back the DAT register at resume can
change pull up/down settings, depending on pin input value.
Output values are now also restored.

Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/plat-nomadik/Kconfig
arch/arm/plat-nomadik/gpio.c