Skip to content

Commit 419dd62

Browse files
vianplstorulf
authored andcommitted
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: f84e411 ("mmc: sdhci-iproc: Add support for emmc2 of the BCM2711") Signed-off-by: Nicolas Saenz Julienne <[email protected]> Signed-off-by: Stefan Wahren <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent c9107dd commit 419dd62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/mmc/host/sdhci-iproc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@ static const struct sdhci_ops sdhci_iproc_bcm2711_ops = {
295295
};
296296

297297
static const struct sdhci_pltfm_data sdhci_bcm2711_pltfm_data = {
298-
.quirks = SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12,
298+
.quirks = SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 |
299+
SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN,
299300
.ops = &sdhci_iproc_bcm2711_ops,
300301
};
301302

0 commit comments

Comments
 (0)