commit | 94144a465dd0b34b3249f988a09472d0f57ad2b7 | [log] [tgz] |
---|---|---|
author | Kevin Liu <kliu5@marvell.com> | Thu Feb 28 17:35:53 2013 +0800 |
committer | Chris Ball <cjb@laptop.org> | Fri Mar 22 12:24:50 2013 -0400 |
tree | 207bb564e0a1f6a0a4762f579dc09c7f119c86f1 | |
parent | 1450734ec61cda7bbb77afc8cb412b9d64c62d9a [diff] |
mmc: sdhci: add get_cd() implementation 1. mmc_rescan will call get_cd to know whether the card is present before mmc_rescan_try_freq to avoid useless trials during card removal or start host is called when card is not present. 2. get_cd needs to be checked to resolve slow card removal issue. Signed-off-by: Kevin Liu <kliu5@marvell.com> Signed-off-by: Chris Ball <cjb@laptop.org>