git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5763318
)
gpio: palmas: Fix misreported GPIO out value
author
Andrew Chew
<achew@nvidia.com>
Fri, 26 Jul 2013 20:39:53 +0000
(13:39 -0700)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 16 Aug 2013 13:04:40 +0000
(15:04 +0200)
It seems that the value read back from the PALMAS_GPIO_DATA_IN register
isn't valid if the GPIO direction is out. When that's the case, we can
read back the PALMAS_GPIO_DATA_OUT register to get the proper output value.
Signed-off-by: Andrew Chew <achew@nvidia.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-palmas.c
patch
|
blob
|
history
diff --cc
drivers/gpio/gpio-palmas.c
Simple merge