android_kernel_google_msm/drivers/mmc
Aaron Lu 94c73bbcec mmc: sdhci: fix incorrect command used in tuning
commit 473b095a72 upstream.

For SD hosts using retuning mode 1, when retuning timer expired, it will
need to do retuning in sdhci_request before processing the actual
request. But the retuning command is fixed: cmd19 for SD card and cmd21
for eMMC card, so we can't use the original request's command to do the
tuning.

And since the tuning command depends on the card type attached to the
host, we will need to know the card type to use the correct tuning
command.

Signed-off-by: Aaron Lu <aaron.lu@amd.com>
Reviewed-by: Philip Rakity <prakity@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-09 08:31:27 -07:00
..
card mmc: remove MMC bus legacy suspend/resume method 2012-04-20 20:30:19 -04:00
core mmc: cd-gpio: protect against NULL context in mmc_cd_gpio_free() 2012-06-01 15:18:27 +08:00
host mmc: sdhci: fix incorrect command used in tuning 2012-08-09 08:31:27 -07:00
Kconfig
Makefile mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00