return 0;
}
-static void omap_hsmmc_reg_put(struct omap_hsmmc_host *host)
-{
- if (mmc_pdata(host)->set_power)
- return;
-}
-
static inline int omap_hsmmc_have_reg(void)
{
return 1;
return -EINVAL;
}
-static inline void omap_hsmmc_reg_put(struct omap_hsmmc_host *host)
-{
-}
-
static inline int omap_hsmmc_have_reg(void)
{
return 0;
err_slot_name:
mmc_remove_host(mmc);
- omap_hsmmc_reg_put(host);
err_irq:
device_init_wakeup(&pdev->dev, false);
if (host->tx_chan)
pm_runtime_get_sync(host->dev);
mmc_remove_host(host->mmc);
- omap_hsmmc_reg_put(host);
if (host->tx_chan)
dma_release_channel(host->tx_chan);