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)
commit43e943a04049d8f4ee96a940517a5fcb0f558ad2
treed7152b54b7f411abe57a4abc23bc77fae3d8614d
parentd9fbe003ead7205cfd6e623f90f3eb9a56a0d445
mmc: sdhci: fix driver type B and D handling in sdhci_do_set_ios()

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
This page took 0.043637 seconds and 5 git commands to generate.