diff mbox

[1/6] arm: mach-omap2: omap_l3_smx: fix request_irq() error path

Message ID 1300984535-10530-1-git-send-email-aaro.koskinen@nokia.com (mailing list archive)
State New, archived
Headers show

Commit Message

Koskinen, Aaro (Nokia - FI/Espoo) March 24, 2011, 4:35 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/omap_l3_smx.c b/arch/arm/mach-omap2/omap_l3_smx.c
index 265bff3..02528cb 100644
--- a/arch/arm/mach-omap2/omap_l3_smx.c
+++ b/arch/arm/mach-omap2/omap_l3_smx.c
@@ -273,6 +273,7 @@  static int __init omap3_l3_probe(struct platform_device *pdev)
 	goto err0;
 
 err4:
+	free_irq(l3->debug_irq, l3);
 err3:
 	iounmap(l3->rt);
 err2: