]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-esdhc-imx: use the correct host caps for MMC_CAP_8_BIT_DATA
authorHaibo Chen <haibo.chen@nxp.com>
Tue, 8 Nov 2022 07:45:03 +0000 (15:45 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Nov 2022 12:01:33 +0000 (13:01 +0100)
commit27755bb6e6dde35e4c03d9e8067cf0a45713711d
tree448a819ccd0d6507fd0756af7146c861493fdc65
parent78f8eb2df3f44e22e52774102563fcd60c937fb7
mmc: sdhci-esdhc-imx: use the correct host caps for MMC_CAP_8_BIT_DATA

MMC_CAP_8_BIT_DATA belongs to struct mmc_host, not struct sdhci_host.
So correct it here.

Fixes: d9f11672422e ("mmc: sdhci-esdhc-imx: Propagate ESDHC_FLAG_HS400* only on 8bit bus")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Cc: stable@vger.kernel.org
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/1667893503-20583-1-git-send-email-haibo.chen@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c