From: Ladislav Michl <[email protected]>

Free IRQ on remove.

Signed-off-by: Ladislav Michl <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---


diff -puN drivers/mmc/host/omap.c~mmci-omap-free-irq-resource 
drivers/mmc/host/omap.c
--- a/drivers/mmc/host/omap.c~mmci-omap-free-irq-resource
+++ a/drivers/mmc/host/omap.c
@@ -1529,6 +1529,7 @@ static int mmc_omap_remove(struct platfo
                host->pdata->cleanup(&pdev->dev);
 
        mmc_omap_fclk_enable(host, 0);
+       free_irq(host->irq, host);
        clk_put(host->fclk);
        clk_disable(host->iclk);
        clk_put(host->iclk);
_
--
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

Reply via email to