ARM: OMAP: fix the ads7846 init code
authorIgor Grinberg <[email protected]>
Thu, 21 Jun 2012 08:36:02 +0000 (01:36 -0700)
committerTony Lindgren <[email protected]>
Thu, 21 Jun 2012 08:36:02 +0000 (01:36 -0700)
commit97ee9f01d6f26a69847d7a0ea07be756fe9f8eb6
treedbfbf8bc99130470ba4561f23afe1fad5831a4f3
parent485802a6c524e62b5924849dd727ddbb1497cc71
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 <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
arch/arm/mach-omap2/common-board-devices.c