Skip to contentSkip to conversation

mmci-omap: free irq resource

PATCH New [email protected] 1 participant 1 message Nov 1, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmci-omap: free irq resource

Free IRQ on remove.

drivers/mmc/host/omap.c +1 -0
index 5d773b8..5f970e2 100644
@@ -1529,6 +1529,7 @@ static int mmc_omap_remove(struct platform_device *pdev)
 		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);