]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit180cbd5a9b35fbf6eb6e7b85782624fe926c09db
tree31bec106a3a2f4956cc1fd4a1fa4b465d31bddb9
parent056cc241b12d0a9cfc95dd2a7585e194fdbeb16e
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