]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit533e6968bf7f83ec89d668a56502da245d10412e
treed7152b54b7f411abe57a4abc23bc77fae3d8614d
parentbc7174c8980aaa9da233cdd9dd1c9e23678c41ca
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