mmc: sdhci: Get rid of SDHCI_QUIRK_RESET_CMD_DATA_ON_IOS
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 26 Sep 2022 19:20:21 +0000 (22:20 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 28 Sep 2022 08:08:50 +0000 (10:08 +0200)
commit6fbde9e98a580feec73f3e1677c1f4b7a1ce8c64
tree42078eb224414f5b48f318e01eb6db7a4330dd54
parentbd980df9c4d59ef416d8350f529f7611b06e355e
mmc: sdhci: Get rid of SDHCI_QUIRK_RESET_CMD_DATA_ON_IOS

SDHCI_QUIRK_RESET_CMD_DATA_ON_IOS is used by only ENE controllers but can
be replaced by driver code.

Amend the ENE code to hook the ->set_ios() mmc host operation and do the
reset there.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20220926192022.85660-4-adrian.hunter@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h