]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP: fix the ads7846 init code
authorIgor Grinberg <grinberg@compulab.co.il>
Thu, 21 Jun 2012 08:36:02 +0000 (01:36 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 21 Jun 2012 08:36:02 +0000 (01:36 -0700)
commit856757cd305a4ba21aa7c8204a3312f65ede9465
treedbfbf8bc99130470ba4561f23afe1fad5831a4f3
parent5ab1957f53a60ff3aa128f8a2f2ca9c7de85d169
ARM: OMAP: fix the ads7846 init code

In case a board provides the gpio_pendown and not board_pdata,
the GPIO debounce is not taken care of.
Fix this by taking care of GPIO debounce in any case.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/common-board-devices.c