From: Jaedon Shin <jaedon.shin@gmail.com>
To: Al Cooper <alcooperx@gmail.com>,
Adrian Hunter <adrian.hunter@intel.com>,
Ulf Hansson <ulf.hansson@linaro.org>
Cc: Florian Fainelli <f.fainelli@gmail.com>,
linux-mmc@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com,
Jaedon Shin <jaedon.shin@gmail.com>
Subject: [PATCH] mmc: sdhci-brcmstb: Remove incorrect capability
Date: Fri, 19 Aug 2016 11:30:29 +0900 [thread overview]
Message-ID: <20160819023029.29086-1-jaedon.shin@gmail.com> (raw)
Removes incorrect 64-bit ADMA capability on Broadcom MIPS based SoCs.
The MIPS based BRCMSTB SDHCI host controllers are using ADMA only, but
the several chipsets have a incorrect capability about ADMA 64-bit.
Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com>
---
drivers/mmc/host/sdhci-brcmstb.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mmc/host/sdhci-brcmstb.c b/drivers/mmc/host/sdhci-brcmstb.c
index cce10fe3e19e..683bfc2af512 100644
--- a/drivers/mmc/host/sdhci-brcmstb.c
+++ b/drivers/mmc/host/sdhci-brcmstb.c
@@ -98,6 +98,8 @@ static int sdhci_brcmstb_probe(struct platform_device *pdev)
* properties through mmc_of_parse().
*/
host->caps = sdhci_readl(host, SDHCI_CAPABILITIES);
+ if (IS_ENABLED(CONFIG_MIPS))
+ host->caps &= ~SDHCI_CAN_64BIT;
host->caps1 = sdhci_readl(host, SDHCI_CAPABILITIES_1);
host->caps1 &= ~(SDHCI_SUPPORT_SDR50 | SDHCI_SUPPORT_SDR104 |
SDHCI_SUPPORT_DDR50);
--
2.9.3
reply other threads:[~2016-08-19 2:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160819023029.29086-1-jaedon.shin@gmail.com \
--to=jaedon.shin@gmail.com \
--cc=adrian.hunter@intel.com \
--cc=alcooperx@gmail.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=f.fainelli@gmail.com \
--cc=linux-mmc@vger.kernel.org \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).