Commit 81dce14
mmc: sdhci-esdhc-imx: make "no-mmc-hs400" works
After commit 1ed5c3b ("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: 1ed5c3b ("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>1 parent e5bce3c commit 81dce14
1 file changed
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1634 | 1634 | | |
1635 | 1635 | | |
1636 | 1636 | | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
1637 | 1641 | | |
1638 | 1642 | | |
1639 | 1643 | | |
| |||
1724 | 1728 | | |
1725 | 1729 | | |
1726 | 1730 | | |
1727 | | - | |
1728 | | - | |
1729 | | - | |
1730 | | - | |
1731 | 1731 | | |
1732 | 1732 | | |
1733 | 1733 | | |
1734 | 1734 | | |
1735 | 1735 | | |
1736 | 1736 | | |
1737 | 1737 | | |
1738 | | - | |
1739 | | - | |
| 1738 | + | |
1740 | 1739 | | |
1741 | 1740 | | |
1742 | 1741 | | |
1743 | 1742 | | |
1744 | 1743 | | |
1745 | | - | |
1746 | | - | |
| 1744 | + | |
1747 | 1745 | | |
1748 | 1746 | | |
1749 | 1747 | | |
| |||
1765 | 1763 | | |
1766 | 1764 | | |
1767 | 1765 | | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
1768 | 1770 | | |
1769 | 1771 | | |
1770 | 1772 | | |
| |||
0 commit comments