]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mmc: sdhci-esdhc-imx: make "no-mmc-hs400" works
authorHaibo Chen <haibo.chen@nxp.com>
Thu, 4 May 2023 11:22:22 +0000 (19:22 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 9 Aug 2023 09:38:09 +0000 (11:38 +0200)
commita5a8ef1fb8526e5dd1a178d4a2daef8f6024414e
tree00b3d015f6afe25f8a145e532b51f20429cb0194
parent02fe203f345c112c4149c402a5df085ddd61f663
mmc: sdhci-esdhc-imx: make "no-mmc-hs400" works

BugLink: https://bugs.launchpad.net/bugs/2028979
commit 81dce1490e28439c3cd8a8650b862a712f3061ba upstream.

After commit 1ed5c3b22fc7 ("mmc: sdhci-esdhc-imx: Propagate
ESDHC_FLAG_HS400* only on 8bit bus"), the property "no-mmc-hs400"
from device tree file do not work any more.
This patch reorder the code, which can avoid the warning message
"drop HS400 support since no 8-bit bus" and also make the property
"no-mmc-hs400" from dts file works.

Fixes: 1ed5c3b22fc7 ("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
Link: https://lore.kernel.org/r/20230504112222.3599602-1-haibo.chen@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/mmc/host/sdhci-esdhc-imx.c