Files
linux/drivers/mmc/host
Sascha Hauer d5d292475c mmc: sdhci-esdhc-imx: fix for mmc cards on i.MX5
commit 5b6b0ad6e5 upstream.

On i.MX53 we have to write a special SDHCI_CMD_ABORTCMD to the
SDHCI_TRANSFER_MODE register during a MMC_STOP_TRANSMISSION
command. This works for SD cards. However, with MMC cards
the MMC_SET_BLOCK_COUNT command is used instead, but this
needs the same handling. Fix MMC cards by testing for the
MMC_SET_BLOCK_COUNT command aswell. Tested on a custom i.MX53
board with a Transcend MMC+ card and eMMC.

The kernel started used MMC_SET_BLOCK_COUNT in 3.0, so this
is a regression for these boards introduced in 3.0; it should
go to 3.0/3.1/3.2-stable.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-03-12 10:32:55 -07:00
..
2011-05-18 23:24:50 +02:00
2010-11-01 15:38:34 -04:00
2011-03-15 13:51:47 -04:00
2008-12-16 14:58:17 +01:00
2011-03-31 11:26:23 -03:00
2009-03-24 21:30:03 +01:00
2011-12-21 12:57:39 -08:00
2011-10-16 14:14:54 -07:00
2011-03-31 11:26:23 -03:00
2009-10-01 16:11:15 -07:00
2011-05-24 20:59:30 -04:00
2012-01-25 17:24:46 -08:00
2011-05-25 16:51:40 -04:00
2011-03-25 10:30:49 -04:00
2011-03-31 11:26:23 -03:00
2007-07-26 01:53:31 +02:00