projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6052b3c
)
mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN
author
Jisheng Zhang
<Jisheng.Zhang@synaptics.com>
Thu, 10 Dec 2020 08:55:10 +0000
(16:55 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 1 Feb 2021 10:54:42 +0000
(11:54 +0100)
The SDHCI_PRESET_FOR_* registers are not set(all read as zeros), so
set the quirk.
Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Link:
https://lore.kernel.org/r/20201210165510.76b917e5@xhacker.debian
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-dwcmshc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-of-dwcmshc.c
b/drivers/mmc/host/sdhci-of-dwcmshc.c
index d90020ed362273a47bdbabde4423fb283a4098be..59d8d96ce206bafa65cb00b8837b9aec420c13cf 100644
(file)
--- a/
drivers/mmc/host/sdhci-of-dwcmshc.c
+++ b/
drivers/mmc/host/sdhci-of-dwcmshc.c
@@
-112,6
+112,7
@@
static const struct sdhci_ops sdhci_dwcmshc_ops = {
static const struct sdhci_pltfm_data sdhci_dwcmshc_pdata = {
.ops = &sdhci_dwcmshc_ops,
.quirks = SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN,
+ .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
};
static int dwcmshc_probe(struct platform_device *pdev)