I don't see this. Maybe that is your hardware issue. Thanks and Best Regards Jerry Huang > -----Original Message----- > From: linux-mmc-owner@xxxxxxxxxxxxxxx [mailto:linux-mmc- > owner@xxxxxxxxxxxxxxx] On Behalf Of Jaehoon Chung > Sent: Friday, May 06, 2011 5:39 PM > To: linux-mmc@xxxxxxxxxxxxxxx > Cc: Chris Ball; Kyungmin Park > Subject: [PATCH] mmc: fixed wrong SD card detection > > This patch added mmc_power_off after mmc_attach_sd() > > i found that didn't detect the second card insert.(using SDHCI) you can > see the below log. > > i want to know that somebody know this issue... > > ->first card inserted (correct card detect) > # mmc1: new SDHC card at address e624 > mmcblk1: mmc1:e624 SU04G 3.69 GiB > mmcblk1: p1 > # > # mmc1: card e624 removed > -> second card inserted > mmc1: error -110 whilst initialising SD card > mmc1: Card removed during transfer! > mmc1: Resetting controller. > -> third card inserted > mmc1: new SDHC card at address e624 > mmcblk1: mmc1:e624 SU04G 3.69 GiB > mmcblk1: p1 > > I added mmc_power_off() after only mmc_attach_sd(). > > Signed-off-by: Jaehoon Chung <jh80.chung@xxxxxxxxxxx> > Signed-off-by: kyungmin Park <kyungmin.park@xxxxxxxxxxx> > --- > drivers/mmc/core/core.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index > 1dbc185..d5d8ac0 100644 > --- a/drivers/mmc/core/core.c > +++ b/drivers/mmc/core/core.c > @@ -1522,8 +1522,10 @@ static int mmc_rescan_try_freq(struct mmc_host > *host, unsigned freq) > /* Order's important: probe SDIO, then SD, then MMC */ > if (!mmc_attach_sdio(host)) > return 0; > - if (!mmc_attach_sd(host)) > + if (!mmc_attach_sd(host)) { > + mmc_power_off(host); > return 0; > + } > if (!mmc_attach_mmc(host)) > return 0; > > -- > To unsubscribe from this list: send the line "unsubscribe linux-mmc" in > the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at > http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html