OSDN Git Service

gpio: Fix bit masking in Kontron PLD GPIO driver
authorBrunner Michael <Michael.Brunner@kontron.com>
Wed, 31 Jul 2013 18:55:39 +0000 (20:55 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 16 Aug 2013 15:56:53 +0000 (17:56 +0200)
commit2e7f6122642773fa467ab80adc30ef20c80dbda6
tree032a790961d1c0bc78859d3c21fbbb4937bfbd70
parent40a625daa88653d7942dc85483f6f289cd687cb7
gpio: Fix bit masking in Kontron PLD GPIO driver

This patch fixes the bit masking within the GPIO driver. The masking is
basically done twice which causes the wrong GPIOs to be addressed.

Signed-off-by: Michael Brunner <michael.brunner@kontron.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-kempld.c