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)
commitd6a2fa0424aefe97289aa561444ec3ae09bdbba0
tree0fea81d789d6a74ecf97fdacf1261c7ffe2b09a5
parent41b3996e3b6825bd3a0624d62fde53fbad092ed0
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