]> git.baikalelectronics.ru Git - kernel.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)
committerChris Ball <cjb@laptop.org>
Wed, 20 Jul 2011 21:21:02 +0000 (17:21 -0400)
commit5522cc79ae27f6e8275647f9a9ec9b95b9000beb
treedc004c32b20a55e6e2a79fcdbc1348f04ff29c4d
parentf6382c3a85caa136d9cce676df6ea3fd525305b1
mmc: sdhci-esdhc-imx: SDHCI_CARD_PRESENT does not get cleared

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>
Cc: <stable@kernel.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-esdhc-imx.c