diff mbox

[2/4] gpio: gpio-f7188x: GPIO bank 0 bit 0 is not available on f71869a

Message ID 5ee31a07812e4bb3af791300416fec848f175cc7.1440093298.git.plr.vincent@gmail.com
State New
Headers show

Commit Message

Vincent Pelletier Aug. 20, 2015, 6:03 p.m. UTC
In version 0.19P (2011/10) of the datasheet, GPIO00 is marked as available
on the global register map (page 52), but marked as reserved in detailed
register map (page 112).

Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>
---
 drivers/gpio/gpio-f7188x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/gpio/gpio-f7188x.c b/drivers/gpio/gpio-f7188x.c
index 2915f8d..9a56afe 100644
--- a/drivers/gpio/gpio-f7188x.c
+++ b/drivers/gpio/gpio-f7188x.c
@@ -186,7 +186,7 @@  static struct f7188x_gpio_bank f71869_gpio_bank[] = {
 };
 
 static struct f7188x_gpio_bank f71869a_gpio_bank[] = {
-	F7188X_GPIO_BANK(0, 6, 0xF0),
+	F7188X_GPIO_BANK(1, 5, 0xF0),
 	F7188X_GPIO_BANK(10, 8, 0xE0),
 	F7188X_GPIO_BANK(20, 8, 0xD0),
 	F7188X_GPIO_BANK(30, 8, 0xC0),