mmc: add CD GPIO polling support to slot functions
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 1 May 2012 14:27:25 +0000 (16:27 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 21 Jul 2012 04:02:17 +0000 (00:02 -0400)
commitbefe4048d8d20483a62636e20f3dbffebf85a1c1
tree31bec106a3a2f4956cc1fd4a1fa4b465d31bddb9
parent5c08d7fae0815cd163a98e05c8d94fc0de77ff67
mmc: add CD GPIO polling support to slot functions

A simple extension of mmc slot functions add support for CD GPIO polling
for cases where the GPIO cannot produce interrupts, or where this is not
desired for some reason.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/slot-gpio.c
include/linux/mmc/slot-gpio.h