Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e102657e authored by Vikram Pandita's avatar Vikram Pandita Committed by Tony Lindgren
Browse files

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



As per 3430 TRM, there are 6 banks [0 to 191]

Signed-off-by: default avatarTom Rix <Tom.Rix@windriver.com>
Signed-off-by: default avatarVikram Pandita <vikram.pandita@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 4ea60b0c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}