]> git.baikalelectronics.ru Git - kernel.git/commit
GPIO: clps711x: Fix direction logic for PORTD
authorAlexander Shiyan <shc_work@mail.ru>
Wed, 24 Oct 2012 08:34:46 +0000 (12:34 +0400)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 26 Oct 2012 07:16:15 +0000 (09:16 +0200)
commit9a5b7871f7e7fabd85565866fd4b24bbc050813d
tree0fea81d789d6a74ecf97fdacf1261c7ffe2b09a5
parent5a75d224d0f8a29d1e1813f54e2ca3f25d5084ed
GPIO: clps711x: Fix direction logic for PORTD

PORTD have different direction logic, i.e. "0" is output and "1" is input.
This patch fix this issue.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-clps711x.c