瀏覽代碼

mmc: sdhci-of-at91: use SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST quirk

The Atmel sdhci device needs the
SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST quirk. Without it, the
internal clock could never stabilised when changing the sd clock
frequency.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
ludovic.desroches@atmel.com 10 年之前
父節點
當前提交
88c6eb0e3b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/mmc/host/sdhci-of-at91.c

+ 1 - 0
drivers/mmc/host/sdhci-of-at91.c

@@ -43,6 +43,7 @@ static const struct sdhci_ops sdhci_at91_sama5d2_ops = {
 
 
 static const struct sdhci_pltfm_data soc_data_sama5d2 = {
 static const struct sdhci_pltfm_data soc_data_sama5d2 = {
 	.ops = &sdhci_at91_sama5d2_ops,
 	.ops = &sdhci_at91_sama5d2_ops,
+	.quirks2 = SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST,
 };
 };
 
 
 static const struct of_device_id sdhci_at91_dt_match[] = {
 static const struct of_device_id sdhci_at91_dt_match[] = {