summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/hsmmc.c
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2011-05-04 17:04:55 +0200
committerTony Lindgren <tony@atomide.com>2011-06-01 11:25:04 +0200
commite68273baf30390e9c907831b47384085c7f664d5 (patch)
tree1ca8c222c6438c474f294190f3992e2985d894fe /arch/arm/mach-omap2/hsmmc.c
parentARM: OMAP2: Add missing iounmap in omap4430_phy_init (diff)
downloadlinux-e68273baf30390e9c907831b47384085c7f664d5.tar.xz
linux-e68273baf30390e9c907831b47384085c7f664d5.zip
arm: omap2plus: fix ads7846 pendown gpio request
introduced by: 96974a24 (omap: consolidate touch screen initialization among different boards) ads7846 driver can use either gpio_pendown or get_pendown_state() callback. In case of gpio_pendown, it requests the provided gpio_pendown thus resulting in double requesting that gpio: ads7846 spi1.0: failed to request pendown GPIO57 ads7846: probe of spi1.0 failed with error -16 Fix this by restricting the gpio request to the case of get_pendown_state() callback is used. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Tested-by: Thomas Weber <weber@corscience.de> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/hsmmc.c')
0 files changed, 0 insertions, 0 deletions