mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
Revert "mmc: sdio: Claim host in sdio_reset_comm()"
This reverts commit a7f4cf5b4c.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user