projects
/
openwrt
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: Fix sdhci kernel panics on MT7621
[openwrt/.git]
/
target
/
linux
/
ramips
/
patches-4.4
/
0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch
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 b36c77c78bbecac95d9ba4cc9f3d705b57137e56..348b563c0c5fb9c4e0237ae346d6787ae5832e1f 100644
(file)
--- 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,8
+3906,8
@@
Signed-off-by: John Crispin <blogic@openwrt.org>
+ host->mrq = mrq;
+
+ if (msdc_do_request(mmc,mrq)) {
+ host->mrq = mrq;
+
+ if (msdc_do_request(mmc,mrq)) {
-+ if(host->hw->flags & MSDC_REMOVABLE && mrq->data && mrq->data->error) {
-+
//msdc_tune_request(mmc,mrq);
++ if(host->hw->flags & MSDC_REMOVABLE &&
CONFIG_SOC_MT7621 &&
mrq->data && mrq->data->error) {
++
msdc_tune_request(mmc,mrq);
+ }
+ }
+
+ }
+ }
+