mmc: tmio: use generic GPIO CD and WP handlers
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 1 May 2012 15:11:56 +0000 (17:11 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 21 Jul 2012 04:02:20 +0000 (00:02 -0400)
The tmio-mmc driver is already using the generic GPIO CD handler in IRQ
mode. This patch adds support for CD polling mode and also checks for
availability of a WP GPIO.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/tmio_mmc_pio.c

Simple merge