ARM: S3C64XX: Fix keypad setup to configure correct number of rows
authorBen Dooks <ben-linux@fluff.org>
Wed, 2 Mar 2011 06:19:15 +0000 (15:19 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 4 Mar 2011 06:46:26 +0000 (15:46 +0900)
commitb3f639c4fe54ce750debe343acbd237f3a75e07c
treeac3f0fc006f058a292b6aebefcd9eb5ab020e731
parent6a53048dde1c85fe03b197352d637e1e4a7380fb
ARM: S3C64XX: Fix keypad setup to configure correct number of rows

The call to s3c_gpio_cfgrange_nopull() takes a size and base
but this looks like it is trying to do base and end. This means
it is configuring too many GPIOs and on the case of the Cragganmore
means we're seeing an overflow of the ROW pins causing problems
with the keyboard driver.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/setup-keypad.c