From: Barry Song <21cnbao@gmail.com> Subject: [PATCH v2 2/2] mmc: sirf: fix the capbility to support DDR50 Date: Mon, 28 Sep 2015 03:23:38 +0000 Message-ID: <1443410618-14763-2-git-send-email-21cnbao@gmail.com> References: <1443410618-14763-1-git-send-email-21cnbao@gmail.com> Return-path: Received: from mail-pa0-f48.google.com ([209.85.220.48]:33483 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755649AbbI1DP0 (ORCPT ); Sun, 27 Sep 2015 23:15:26 -0400 Received: by pacex6 with SMTP id ex6so160484934pac.0 for ; Sun, 27 Sep 2015 20:15:26 -0700 (PDT) In-Reply-To: <1443410618-14763-1-git-send-email-21cnbao@gmail.com> Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: ulf.hansson@linaro.org Cc: linux-mmc@vger.kernel.org, workgroup.linux@csr.com, Weijun Yang , Barry Song From: Weijun Yang According to hardware spec, validate DDR50 mode for SDXC. Signed-off-by: Weijun Yang Signed-off-by: Barry Song --- drivers/mmc/host/sdhci-sirf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-sirf.c b/drivers/mmc/host/sdhci-sirf.c index 8842945..f5488c4 100644 --- a/drivers/mmc/host/sdhci-sirf.c +++ b/drivers/mmc/host/sdhci-sirf.c @@ -50,7 +50,8 @@ static u32 sdhci_sirf_readl_le(struct sdhci_host *host, int reg) if (unlikely((reg == SDHCI_CAPABILITIES_1) && (host->mmc->caps & MMC_CAP_UHS_SDR50))) { /* fake CAP_1 register */ - val = SDHCI_SUPPORT_SDR50 | SDHCI_USE_SDR50_TUNING; + val = SDHCI_SUPPORT_DDR50 | + SDHCI_SUPPORT_SDR50 | SDHCI_USE_SDR50_TUNING; } if (unlikely(reg == SDHCI_SLOT_INT_STATUS)) { -- 1.9.1