diff options
Diffstat (limited to 'drivers/mmc/host/sdhci-of.c')
-rw-r--r-- | drivers/mmc/host/sdhci-of.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/mmc/host/sdhci-of.c b/drivers/mmc/host/sdhci-of.c index 3439fc118904..56041dc74ce1 100644 --- a/drivers/mmc/host/sdhci-of.c +++ b/drivers/mmc/host/sdhci-of.c | |||
@@ -172,19 +172,13 @@ static unsigned int esdhc_get_min_clock(struct sdhci_host *host) | |||
172 | return of_host->clock / 256 / 16; | 172 | return of_host->clock / 256 / 16; |
173 | } | 173 | } |
174 | 174 | ||
175 | static unsigned int esdhc_get_timeout_clock(struct sdhci_host *host) | ||
176 | { | ||
177 | struct sdhci_of_host *of_host = sdhci_priv(host); | ||
178 | |||
179 | return of_host->clock / 1000; | ||
180 | } | ||
181 | |||
182 | static struct sdhci_of_data sdhci_esdhc = { | 175 | static struct sdhci_of_data sdhci_esdhc = { |
183 | .quirks = SDHCI_QUIRK_FORCE_BLK_SZ_2048 | | 176 | .quirks = SDHCI_QUIRK_FORCE_BLK_SZ_2048 | |
184 | SDHCI_QUIRK_BROKEN_CARD_DETECTION | | 177 | SDHCI_QUIRK_BROKEN_CARD_DETECTION | |
185 | SDHCI_QUIRK_INVERTED_WRITE_PROTECT | | 178 | SDHCI_QUIRK_INVERTED_WRITE_PROTECT | |
186 | SDHCI_QUIRK_NO_BUSY_IRQ | | 179 | SDHCI_QUIRK_NO_BUSY_IRQ | |
187 | SDHCI_QUIRK_NONSTANDARD_CLOCK | | 180 | SDHCI_QUIRK_NONSTANDARD_CLOCK | |
181 | SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK | | ||
188 | SDHCI_QUIRK_PIO_NEEDS_DELAY | | 182 | SDHCI_QUIRK_PIO_NEEDS_DELAY | |
189 | SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET | | 183 | SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET | |
190 | SDHCI_QUIRK_NO_CARD_NO_RESET, | 184 | SDHCI_QUIRK_NO_CARD_NO_RESET, |
@@ -199,7 +193,6 @@ static struct sdhci_of_data sdhci_esdhc = { | |||
199 | .enable_dma = esdhc_enable_dma, | 193 | .enable_dma = esdhc_enable_dma, |
200 | .get_max_clock = esdhc_get_max_clock, | 194 | .get_max_clock = esdhc_get_max_clock, |
201 | .get_min_clock = esdhc_get_min_clock, | 195 | .get_min_clock = esdhc_get_min_clock, |
202 | .get_timeout_clock = esdhc_get_timeout_clock, | ||
203 | }, | 196 | }, |
204 | }; | 197 | }; |
205 | 198 | ||