Function _mmc_detect_card_removed will be called to know whether
the card is still present when host-bus_ops-detect is called.
In current code, the return value of this function generally only
depend on the result of sending cmd13 to card, which may not safe
for card with detection support like
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 need to be checked to resolve slow card removal issue.
Signed-off-by: Kevin Liu kl...@marvell.com
Hi, all
Could you pls help view the log below and give some suggestion?
I see this patch disable the rescan when the card was non-removable. So
non-removable card didn't need to detect the card. This can avoid to claim host
for card detecting. But for sd card it still need to detect.
When
Is there any feedback about this patch?
We also need this patch.
Regards
Haijun.
-Original Message-
From: Kevin Liu [mailto:kl...@marvell.com]
Sent: Friday, January 25, 2013 7:35 PM
To: linux-mmc@vger.kernel.org; Chris Ball; Andy Shevchenko; Ulf Hansson
Cc: Nicolas Pitre; Adrian