]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711
authorNicolas Saenz Julienne <nsaenz@kernel.org>
Sat, 7 Aug 2021 11:06:36 +0000 (13:06 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Aug 2021 10:12:05 +0000 (12:12 +0200)
commit419dd626e357e89fc9c4e3863592c8b38cfe1571
tree5ae09213e1ef3d0af5c05412a0b1bfb6641a1bfa
parentc9107dd0b851777d7e134420baf13a5c5343bc16
mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711

The controller doesn't seem to pick-up on clock changes, so set the
SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN flag to query the clock frequency
directly from the clock.

Fixes: f84e411c85be ("mmc: sdhci-iproc: Add support for emmc2 of the BCM2711")
Signed-off-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/1628334401-6577-6-git-send-email-stefan.wahren@i2se.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-iproc.c