提交 e102657e 编写于 作者: V Vikram Pandita 提交者: Tony Lindgren

ARM: OMAP3: Fix number of GPIO lines for 34xx

As per 3430 TRM, there are 6 banks [0 to 191]
Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
Signed-off-by: NVikram Pandita <vikram.pandita@ti.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 4ea60b0c
......@@ -307,7 +307,7 @@ static inline int gpio_valid(int gpio)
return 0;
if (cpu_is_omap24xx() && gpio < 128)
return 0;
if (cpu_is_omap34xx() && gpio < 160)
if (cpu_is_omap34xx() && gpio < 192)
return 0;
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册