]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1115c89ed00e70cdce6c91ccc33b805d86e87a3e
treeac3f0fc006f058a292b6aebefcd9eb5ab020e731
parent0c46b2f2df72d0e5219e692f360d8c7814c48598
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