OSDN Git Service

plat-nomadik: change sleep/wakeup setting in GPIO SLPM register
authorRikard Olsson <rikard.p.olsson@stericsson.com>
Mon, 3 Jan 2011 13:30:41 +0000 (14:30 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Mar 2011 13:05:16 +0000 (14:05 +0100)
commit8b40eeeadc5837c2c01329aa1294e4bef3b35429
treee79e46d943fc813d664b94237e3661ac81f883e9
parent01727e61f0967dd18fadd9dfcee5cf1246e6d8a6
plat-nomadik: change sleep/wakeup setting in GPIO SLPM register

This patch fixes a bug when setting SLPM register for DB8500.
When calling__nmk_gpio_set_slpm(...) offset to GPIO is now used
instead of the GPIO number itself.

Signed-off-by: Rikard Olsson <rikard.p.olsson@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/plat-nomadik/gpio.c