projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce39f9d
)
mmc: bcm2835: set SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK
author
Stephen Warren
<
[email protected]
>
Sat, 9 Feb 2013 03:56:27 +0000
(20:56 -0700)
committer
Chris Ball
<
[email protected]
>
Sun, 24 Feb 2013 19:37:16 +0000
(14:37 -0500)
SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK does basically the same as
implementing struct sdhci_ops .get_timeout_clock, so simply set that
quirk and remove the custom code to simplify the driver.
Reported-by: Lars-Peter Clausen <
[email protected]
>
Signed-off-by: Stephen Warren <
[email protected]
>
Signed-off-by: Chris Ball <
[email protected]
>
drivers/mmc/host/sdhci-bcm2835.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-bcm2835.c
b/drivers/mmc/host/sdhci-bcm2835.c
index 1e97b89dac66e63cd6c43bc4af7bef0d7c67a5db..8ffea05152c62b1482e303899bb839780b91e7e4 100644
(file)
--- a/
drivers/mmc/host/sdhci-bcm2835.c
+++ b/
drivers/mmc/host/sdhci-bcm2835.c
@@
-133,11
+133,11
@@
static struct sdhci_ops bcm2835_sdhci_ops = {
.read_b = bcm2835_sdhci_readb,
.get_max_clock = sdhci_pltfm_clk_get_max_clock,
.get_min_clock = bcm2835_sdhci_get_min_clock,
- .get_timeout_clock = sdhci_pltfm_clk_get_max_clock,
};
static struct sdhci_pltfm_data bcm2835_sdhci_pdata = {
- .quirks = SDHCI_QUIRK_BROKEN_CARD_DETECTION,
+ .quirks = SDHCI_QUIRK_BROKEN_CARD_DETECTION |
+ SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK,
.ops = &bcm2835_sdhci_ops,
};