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:
d983215
)
SDMMC: fix the crash bug when error occur during suspend
author
xbw
<xbw@rock-chips.com>
Fri, 28 Sep 2012 09:23:23 +0000
(17:23 +0800)
committer
xbw
<xbw@rock-chips.com>
Fri, 28 Sep 2012 09:23:23 +0000
(17:23 +0800)
drivers/mmc/core/core.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/core/core.c
b/drivers/mmc/core/core.c
index 3f3615c0af90e415db97bc76ce48b1bc37551581..cc973ce3d993109310631a11d7d2fa6a4fc0bbe3 100755
(executable)
--- a/
drivers/mmc/core/core.c
+++ b/
drivers/mmc/core/core.c
@@
-2013,7
+2013,7
@@
int mmc_suspend_host(struct mmc_host *host)
if (host->bus_ops->suspend)
err = host->bus_ops->suspend(host);
-#if defined(CONFIG_SDMMC_RK29) && defined(CONFIG_SDMMC_RK29_OLD)
+#if defined(CONFIG_SDMMC_RK29) &&
!
defined(CONFIG_SDMMC_RK29_OLD)
//deleted all detail code. //fix the crash bug when error occur during suspend. Modiefyed by xbw at 2012-08-09
#else
if (err == -ENOSYS || !host->bus_ops->resume) {