]> git.karo-electronics.de Git - mv-sheeva.git/commit
mmc: tmio: calculate the native hotplug condition only once
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 9 Feb 2012 21:57:08 +0000 (22:57 +0100)
committerChris Ball <cjb@laptop.org>
Tue, 27 Mar 2012 16:20:15 +0000 (12:20 -0400)
commit2b1ac5c2caccbfd43bd616321cbbe21eb33c7879
tree79be0a594ee1bab7a43b630231fe219b0717bb01
parentc9b0546a59293cabf54c85e1218da595af3274ff
mmc: tmio: calculate the native hotplug condition only once

The condition, whether we have to use the native TMIO card hotplug
detection interrupt, is rather complex, it is better to only calculate it
once and store in the private data.

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