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:
309aa24
)
Revert "mmc: sdio: Claim host in sdio_reset_comm()"
author
黄涛
<huangtao@rock-chips.com>
Sat, 30 Jul 2011 14:49:09 +0000
(22:49 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Sat, 30 Jul 2011 14:49:09 +0000
(22:49 +0800)
This reverts commit
a7f4cf5b4cc1c0b5ba033a9324fbe9f74b90e04f
.
drivers/mmc/core/sdio.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/core/sdio.c
b/drivers/mmc/core/sdio.c
index a78b4dc3fd9eebbbada85050fd5439685045a9ab..ebfdea444f4222b0417ac30a6e28815f7cf68b6f 100644
(file)
--- a/
drivers/mmc/core/sdio.c
+++ b/
drivers/mmc/core/sdio.c
@@
-623,8
+623,6
@@
int sdio_reset_comm(struct mmc_card *card)
int err;
printk("%s():\n", __func__);
- mmc_claim_host(host);
-
mmc_go_idle(host);
mmc_set_clock(host, host->f_min);
@@
-665,12
+663,13
@@
int sdio_reset_comm(struct mmc_card *card)
err = sdio_enable_wide(card);
if (err)
goto err;
- mmc_release_host(host);
+
return 0;
-err:
+
err:
printk("%s: Error resetting SDIO communications (%d)\n",
mmc_hostname(host), err);
- mmc_release_host(host);
return err;
}
EXPORT_SYMBOL(sdio_reset_comm);
+
+