From: Ladislav.Michl@seznam.cz
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com>, linux-mmc@vger.kernel.org
Subject: [PATCH] mmci-omap: free irq resource
Date: Sun, 1 Nov 2009 12:56:47 +0100 [thread overview]
Message-ID: <20091101115646.GA15144@localhost.localdomain> (raw)
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);
next reply other threads:[~2009-11-01 10:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-01 11:56 Ladislav.Michl [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-11-01 11:59 [PATCH] mmci-omap: free irq resource Ladislav.Michl
2009-11-09 22:27 ` Andrew Morton
2009-11-18 19:05 ` Ladislav Michl
2009-10-21 12:43 Ladislav.Michl
2009-10-22 21:58 ` Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091101115646.GA15144@localhost.localdomain \
--to=ladislav.michl@seznam.cz \
--cc=akpm@linux-foundation.org \
--cc=jarkko.lavinen@nokia.com \
--cc=ladis@linux-mips.org \
--cc=linux-mmc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.