]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
arm64: dts: qcom: msm8916: fix MMC controller aliases
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 1 Dec 2021 02:05:59 +0000 (05:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 08:04:18 +0000 (09:04 +0100)
[ Upstream commit b0293c19d42f6d6951c2fab9a47fed50baf2c14d ]

Change sdhcN aliases to mmcN to make them actually work. Currently the
board uses non-standard aliases sdhcN, which do not work, resulting in
mmc0 and mmc1 hosts randomly changing indices between boots.

Fixes: c4da5a561627 ("arm64: dts: qcom: Add msm8916 sdhci configuration nodes")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211201020559.1611890-1-dmitry.baryshkov@linaro.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/msm8916.dtsi

index ba42c62399226f90669f0c80f87b6f03cf9d3b3c..078ae020a77b895d9f1c9839032efac9c4686474 100644 (file)
@@ -27,8 +27,8 @@
        #size-cells = <2>;
 
        aliases {
-               sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
-               sdhc2 = &sdhc_2; /* SDC2 SD card slot */
+               mmc0 = &sdhc_1; /* SDC1 eMMC slot */
+               mmc1 = &sdhc_2; /* SDC2 SD card slot */
        };
 
        chosen { };