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)
commit3071cafb7f6f9cbb52b1b7eb308c8b45cae0dcf8
treeb8deac0d73ab04057e6aba86faff14d6c3bd295c
parentd7d8d500bc03891c4a86da49858c46e2db256581
mmc: tmio: use generic GPIO CD and WP handlers

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