]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
mmc: sdhci-of-esdhc: Handle pulse width detection erratum for more SoCs
authorYangbo Lu <yangbo.lu@nxp.com>
Tue, 10 Nov 2020 07:13:14 +0000 (15:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Nov 2020 18:20:31 +0000 (19:20 +0100)
commit 71b053276a87ddfa40c8f236315d81543219bfb9 upstream.

Apply erratum workaround of unreliable pulse width detection to
more affected platforms (LX2160A Rev2.0 and LS1028A Rev1.0).

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Fixes: 48e304cc1970 ("mmc: sdhci-of-esdhc: workaround for unreliable pulse width detection")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20201110071314.3868-1-yangbo.lu@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-of-esdhc.c

index 64196c1b1c8f07894c7c607e0302c38cefa8c08e..5922ae021d869b7c9bce874ec2291445ecf5cb65 100644 (file)
@@ -1212,6 +1212,8 @@ static struct soc_device_attribute soc_fixup_sdhc_clkdivs[] = {
 
 static struct soc_device_attribute soc_unreliable_pulse_detection[] = {
        { .family = "QorIQ LX2160A", .revision = "1.0", },
+       { .family = "QorIQ LX2160A", .revision = "2.0", },
+       { .family = "QorIQ LS1028A", .revision = "1.0", },
        { },
 };