mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
mmci-omap: free irq resource
Free IRQ on remove. Signed-off-by: Ladislav Michl <[email protected]> Acked-by: Tony Lindgren <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
b87e5e2b8e
commit
49c1d9da1c
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue