• Shawn Guo's avatar
    mmc: sdhci-esdhc-imx: fix host version read · ef4d0888
    Shawn Guo authored
    When commit 95a2482a (mmc: sdhci-esdhc-imx: add basic imx6q usdhc
    support) works around host version issue on imx6q, it gets the
    register address fixup "reg ^= 2" lost for imx25/35/51/53 esdhc.
    Thus, the controller version on these SoCs is wrongly identified
    as v1 while it's actually v2.
    
    Add the address fixup back and take a different approach to correct
    imx6q host version, so that the host version read gets back to work
    for all SoCs.
    Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: default avatarChris Ball <cjb@laptop.org>
    ef4d0888
sdhci-esdhc-imx.c 15.9 KB