> You means that didn't run start_host() before add_host failed. > I think that need not to run stop_host. right? Right, and other stuff like registering the pm_notifier. > To use mmc_free_host, better than mmc_remove_host. That would be true for most drivers. However, sdhci has encapsulated this in its own sdhci_free_host. So, you don't need to call this as well. Regards, Wolfram -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
Attachment:
signature.asc
Description: Digital signature