]> git.baikalelectronics.ru Git - kernel.git/commit
tmio_mmc: Use 100ms mmc_detect_change() delay
authorMagnus Damm <damm@opensource.se>
Wed, 17 Feb 2010 07:38:04 +0000 (16:38 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Mar 2010 21:17:26 +0000 (22:17 +0100)
commitbf2b8a7aeb818e2b3d8bbfa5519bf78c58e1c6a7
tree0bd171c42545303b2409202888af94bc4e5cedc1
parent124a545331e924ef70e3ee05a7489dab017d90bc
tmio_mmc: Use 100ms mmc_detect_change() delay

This patch changes the tmio_mmc driver to wait 100ms
before checking the card detect status. This type of
delay is quite common among mmc drivers, it seems that
most hardware platforms need to give the hardware some
time to settle before checking card availabilty.

Hotplug is half-broken without this patch on the sh7724
Ecovec board. Hot insertion seems ok but eject is never
detected without this patch.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mmc/host/tmio_mmc.c