]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: add a card hotplug handler context
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 26 Dec 2011 01:40:03 +0000 (20:40 -0500)
committerChris Ball <cjb@laptop.org>
Thu, 12 Jan 2012 04:58:45 +0000 (23:58 -0500)
commitb67e198073b2d2f16572f5fa77553fec14775f69
treeb6496468a572a1bbe21b9ae5141b74be2ec42057
parentcbb18b309d3d6b6661f931279697eac77b6591c9
mmc: add a card hotplug handler context

SD/MMC controllers provide different card insertion and removal detection
methods. On some of them the controller itself issues an interrupt, on
others polling is used, on yet others auxiliary means are used for this
purpose, e.g., a GPIO IRQ. Further, on some systems one of those methods
can be chosen at driver probing time and configured in software. E.g., on
some systems the SD/MMC controller card hot-plug detection pin can be
configured either as a respective controller functions, or an IRQ-capable
GPIO. To support such flexible configurations a card hot-plug context
is added by this patch.

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