Skip to content

Commit 4e060be

Browse files
committed
mmc: sdhci-of-at91: fix quirk2 overwrite
The quirks2 are parsed and set (e.g. from DT) before the quirk for broken HS200 is set in the driver. The driver needs to enable just this flag, not rewrite the whole quirk set. Fixes: 7871aa6 ("mmc: sdhci-of-at91: add quirk for broken HS200") Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
1 parent 58fce20 commit 4e060be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mmc/host/sdhci-of-at91.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ static int sdhci_at91_probe(struct platform_device *pdev)
366366
pm_runtime_use_autosuspend(&pdev->dev);
367367

368368
/* HS200 is broken at this moment */
369-
host->quirks2 = SDHCI_QUIRK2_BROKEN_HS200;
369+
host->quirks2 |= SDHCI_QUIRK2_BROKEN_HS200;
370370

371371
ret = sdhci_add_host(host);
372372
if (ret)

0 commit comments

Comments
 (0)