M28: Fix OB1 bug in GPIO driver
authorRobert Deliën <Robert@delien.nl>
Tue, 22 Nov 2011 04:14:22 +0000 (04:14 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 6 Dec 2011 22:59:40 +0000 (23:59 +0100)
commit5a42cd33d5600e90245fe4fa979d888753b081de
treedc80223730b251487cde8a58332c51c0e8ca31f2
parentaa72e43bb77353f8f33f4f5c7484a48084495e50
M28: Fix OB1 bug in GPIO driver

This patch fixes a small off-by-one bug in the GPIO driver for the mxs platform that allowed the selection gpio pins of one bank more than the SoC actually has.

Signed-off-by: Robert Deliën <robert at delien.nl>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
drivers/gpio/mxs_gpio.c