public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmci-omap: free irq resource
@ 2009-11-01 11:56 Ladislav.Michl
  0 siblings, 0 replies; 4+ messages in thread
From: Ladislav.Michl @ 2009-11-01 11:56 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Jarkko Lavinen, linux-mmc

Free IRQ on remove.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>

diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c
index 5d773b8..5f970e2 100644
--- a/drivers/mmc/host/omap.c
+++ b/drivers/mmc/host/omap.c
@@ -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);


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [PATCH] mmci-omap: free irq resource
@ 2009-11-01 11:59 Ladislav.Michl
  2009-11-09 22:27 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Ladislav.Michl @ 2009-11-01 11:59 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Jarkko Lavinen, linux-mmc

Free IRQ on remove.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Acked-by: Tony Lindgren <tony@atomide.com>

diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c
index 5d773b8..5f970e2 100644
--- a/drivers/mmc/host/omap.c
+++ b/drivers/mmc/host/omap.c
@@ -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);


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-18 18:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-01 11:56 [PATCH] mmci-omap: free irq resource Ladislav.Michl
  -- strict thread matches above, loose matches on Subject: below --
2009-11-01 11:59 Ladislav.Michl
2009-11-09 22:27 ` Andrew Morton
2009-11-18 19:05   ` Ladislav Michl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox