projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99f7fbf
)
mmc: remove useless rescan for io function
author
lintao
<lintao@rock-chips.com>
Fri, 26 Sep 2014 04:38:20 +0000
(12:38 +0800)
committer
lintao
<lintao@rock-chips.com>
Fri, 26 Sep 2014 04:38:35 +0000
(12:38 +0800)
drivers/mmc/host/rk_sdmmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/rk_sdmmc.c
b/drivers/mmc/host/rk_sdmmc.c
index 310b591080ea499f19db266e8799b6693578d9b0..cd78befd129a684e87d2fadfc4c839bbed50e4dd 100755
(executable)
--- a/
drivers/mmc/host/rk_sdmmc.c
+++ b/
drivers/mmc/host/rk_sdmmc.c
@@
-4202,7
+4202,10
@@
int dw_mci_resume(struct dw_mci *host)
dw_mci_setup_bus(slot, true);
}
}
- schedule_delayed_work(&host->resume_rescan, msecs_to_jiffies(2000));
+
+ if((host->mmc->restrict_caps & RESTRICT_CARD_TYPE_SD))
+ schedule_delayed_work(&host->resume_rescan, msecs_to_jiffies(2000));
+
return 0;
}
EXPORT_SYMBOL(dw_mci_resume);