Loading drivers/mmc/core/sdio.c +6 −4 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ */ #include <linux/err.h> #include <linux/module.h> #include <linux/pm_runtime.h> #include <linux/mmc/host.h> Loading Loading @@ -1222,6 +1223,8 @@ 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); Loading Loading @@ -1262,13 +1265,12 @@ int sdio_reset_comm(struct mmc_card *card) err = sdio_enable_wide(card); if (err) goto err; mmc_release_host(host); return 0; err: printk("%s: Error resetting SDIO communications (%d)\n", mmc_hostname(host), err); mmc_release_host(host); return err; } EXPORT_SYMBOL(sdio_reset_comm); Loading
drivers/mmc/core/sdio.c +6 −4 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ */ #include <linux/err.h> #include <linux/module.h> #include <linux/pm_runtime.h> #include <linux/mmc/host.h> Loading Loading @@ -1222,6 +1223,8 @@ 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); Loading Loading @@ -1262,13 +1265,12 @@ int sdio_reset_comm(struct mmc_card *card) err = sdio_enable_wide(card); if (err) goto err; mmc_release_host(host); return 0; err: printk("%s: Error resetting SDIO communications (%d)\n", mmc_hostname(host), err); mmc_release_host(host); return err; } EXPORT_SYMBOL(sdio_reset_comm);