mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
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>
This commit is contained in:
parent
b87e5e2b8e
commit
49c1d9da1c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user