mmc: sdhci-acpi: For amd device set driver type as MMC_SET_DRIVER_TYPE_A
authorAkshu Agrawal <akshu.agrawal@amd.com>
Tue, 23 Jun 2020 13:33:27 +0000 (19:03 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Jul 2020 10:18:24 +0000 (12:18 +0200)
commitb343a0911057899aaf082a29f15c66a1a4531952
tree18c6fc9091465d8b59cc387afd9eec76ead8031b
parent3722c74c721b5612ffa45027984bd8161d1aae06
mmc: sdhci-acpi: For amd device set driver type as MMC_SET_DRIVER_TYPE_A

HS400/HS200/eMMC HS doesn't have Preset Value register.
Hence, sdhci_set_ios function overrides the value set by fmw to
SDHCI_CTRL_DRV_TYPE_B.
This patch sets drv_type to MMC_SET_DRIVER_TYPE_A
so that host_control2 register gets updated with the required
strength value.

Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20200623133347.4598-1-akshu.agrawal@amd.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-acpi.c