[PATCH 1/2 v4] mmc: core: enhance card removal judgement for slow removal

2013-02-26 Thread Kevin Liu
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

[PATCH 2/2] mmc: sdhci: add function get_cd

2013-02-26 Thread Kevin Liu
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

RE: Problem with mmc: core: Do not rescan non-removable devices

2013-02-26 Thread Zhang Haijun-B42677
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

RE: [PATCH RESEND v4 1/2] mmc: sdhci: update timeout clock setting if SDCLK is used

2013-02-26 Thread Zhang Haijun-B42677
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