Skip to contentSkip to conversation

mmci-omap: free irq resource

PATCH In review [email protected] 2 participants 2 messages Oct 21, 2009 – Oct 22, 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);
Acked-by on v1 1/1
#1 lore raw
Quoted 1 line · * [email protected] <[email protected]> [091021 03:43]:

Free IRQ on remove.

Looks like the MAINTAINERS file is a bit out of date for drivers/mmc/host/omap.c..

Can you please resend this fix to Andrew Morton, and Cc Jarkko Lavinen <[email protected]>, [email protected] and [email protected]?

We should be able to get this in as a fix during the -rc cycle.

Quoted 18 lines
drivers/mmc/host/omap.c +1 -1
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);
--

To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html