]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: tmio_mmc: Hotplug code regrouping
authorBastian Hecht <hechtb@googlemail.com>
Fri, 23 Dec 2011 22:03:13 +0000 (23:03 +0100)
committerChris Ball <cjb@laptop.org>
Thu, 12 Jan 2012 04:58:45 +0000 (23:58 -0500)
commit244f80394551040d871507792c0e9db5f7ab8efd
tree7df65c7d8200b38bef31a3fee09a1af18808f30d
parent36be438b569f7c830e6a0fa5e7ab6210640428fd
mmc: tmio_mmc: Hotplug code regrouping

This patch regroups the code slightly, adds documentation and allows
the rtpm counter of MMC_CAP_NEEDS_POLL devices to reach 0 again.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
[g.liakhovetski@gmx.de: restore pm_runtime_get_noresume()]
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/tmio_mmc_pio.c