Thomas, On Mon, Apr 8, 2013 at 10:59 PM, Thomas Abraham <[email protected]> wrote: > @@ -2002,7 +1994,7 @@ static int dw_mci_init_slot(struct dw_mci *host, > unsigned int id) > if (ret) { > dev_err(host->dev, > "failed to enable regulator: %d\n", ret); > - goto err_setup_bus; > + return ret;
It seems like you'd need a "mmc_free_host(mmc);" in this case don't you? AKA: this should be a goto and not a return. -Doug -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
