]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711"
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 27 Aug 2021 14:30:36 +0000 (16:30 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 27 Aug 2021 14:30:36 +0000 (16:30 +0200)
commite8fc4c816169ed0c37fddaa7fc2d8ab7f4bdd4d8
treecdee9ea045eee57e0ff01613410ea4feb5707b65
parentce1c8ff730a9d52cea6c427c4d2fbd6de7a3061a
Revert "mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711"

This reverts commit 4b152598329e371ef68cdba0624c391b2810501d.

It turned out that the change from the reverted commit breaks the ACPI
based rpi's because it causes the 100Mhz max clock to be overridden to the
return from sdhci_iproc_get_max_clock(), which is 0 because there isn't a
OF/DT based clock device.

Reported-by: Jeremy Linton <jeremy.linton@arm.com>
Fixes: 4b152598329e ("mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711")
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-iproc.c