aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAndrew Yong <me@ndoo.sg>2016-11-22 00:53:00 +0800
committerJohn Crispin <john@phrozen.org>2016-11-21 16:49:54 +0100
commitfe43d90d93c27851d60d08f250ee1770ec393f0b (patch)
treea1ea37fc8946f96dddcda07d23aeed2ebe0fdbc7 /target
parentc2582f58dc9b14b68b3e6b5d4ca1bb3518cdc59f (diff)
downloadupstream-fe43d90d93c27851d60d08f250ee1770ec393f0b.tar.gz
upstream-fe43d90d93c27851d60d08f250ee1770ec393f0b.tar.bz2
upstream-fe43d90d93c27851d60d08f250ee1770ec393f0b.zip
ramips: fix wrong check for MT7621AT
fix in sdhci Use ralink_soc == MT762X_SOC_MT7621AT instead of CONFIG_SOC_MT7621 which is wrong and breaks builds on mt7620a-similar platforms (MT7621, MT7688) Signed-off-by: Andrew Yong <me@ndoo.sg>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/patches-4.4/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/patches-4.4/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch b/target/linux/ramips/patches-4.4/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch
index 348b563c0c..6905c380bc 100644
--- a/target/linux/ramips/patches-4.4/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch
+++ b/target/linux/ramips/patches-4.4/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch
@@ -3906,7 +3906,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+ host->mrq = mrq;
+
+ if (msdc_do_request(mmc,mrq)) {
-+ if(host->hw->flags & MSDC_REMOVABLE && CONFIG_SOC_MT7621 && mrq->data && mrq->data->error) {
++ if(host->hw->flags & MSDC_REMOVABLE && ralink_soc == MT762X_SOC_MT7621AT && mrq->data && mrq->data->error) {
+ msdc_tune_request(mmc,mrq);
+ }
+ }