]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhci-esdhc-imx: SDHCI_CARD_PRESENT does not get cleared
authorShawn Guo <shawn.guo@linaro.org>
Tue, 21 Jun 2011 14:41:49 +0000 (22:41 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 5 Aug 2011 04:58:31 +0000 (21:58 -0700)
commitfbbc165db18d24de056e50d8ae7d6f1aa3b198fe
tree11420f8dd91ee0621a2d53f3f5b4f2061efab47c
parent1138473c4a69e0f49d44a0c07fffe90c3dd95824
mmc: sdhci-esdhc-imx: SDHCI_CARD_PRESENT does not get cleared

commit 803862a6f7de4939e0a557214e5e4b37e36f87ff upstream.

The function esdhc_readl_le intends to clear bit SDHCI_CARD_PRESENT,
when the card detect gpio tells there is no card.  But it does not
clear the bit actually.  The patch gives a fix on that.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mmc/host/sdhci-esdhc-imx.c