mmc: sdhci: fix driver type B and D handling in sdhci_do_set_ios()
authorPetri Gynther <pgynther@google.com>
Wed, 20 May 2015 21:35:00 +0000 (14:35 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:07:09 +0000 (09:07 +0200)
sdhci_do_set_ios() doesn't currently program SDHCI_HOST_CONTROL2
register correctly when host->preset_enabled == false.

Add code to handle the missing cases MMC_SET_DRIVER_TYPE_B and
MMC_SET_DRIVER_TYPE_D.

Signed-off-by: Petri Gynther <pgynther@google.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c

Simple merge