summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2009-11-11 14:26:43 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-11-12 07:25:57 -0800
commit49c1d9da1c83b83e4ed65bb84326835cdb3e7327 (patch)
tree810de78b066736a70e17a022788e407ca741b739 /drivers/mmc
parentb87e5e2b8ed9336566100c8c796ab6dd52436881 (diff)
downloadblackbird-op-linux-49c1d9da1c83b83e4ed65bb84326835cdb3e7327.tar.gz
blackbird-op-linux-49c1d9da1c83b83e4ed65bb84326835cdb3e7327.zip
mmci-omap: free irq resource
Free IRQ on remove. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Tony Lindgren <tony@atomide.com> Cc: <linux-mmc@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/omap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c
index e7a331de5733..b8fd7af1ceeb 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);
OpenPOWER on IntegriCloud