Message ID | 1443960253-4082-3-git-send-email-21cnbao@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 4 October 2015 at 14:04, Barry Song <21cnbao@gmail.com> wrote: > From: Weijun Yang <york.yang@csr.com> > > According to hardware spec, validate DDR50 mode > for SDXC. > > Signed-off-by: Weijun Yang <york.yang@csr.com> > Signed-off-by: Barry Song <Baohua.Song@csr.com> Thanks, applied for next! Kind regards Uffe > --- > 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 > -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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)) {