diff mbox

[OpenWrt-Devel,1/7] ramips: fix use remove_irq to release irqaction resource

Message ID 1442928363-6219-1-git-send-email-igvtee@gmail.com
State Accepted
Headers show

Commit Message

Mingyu Li Sept. 22, 2015, 1:25 p.m. UTC
From: michael lee <igvtee@gmail.com>

Signed-off-by: Michael Lee <igvtee@gmail.com>
---
 .../0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch b/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch
index 310d362..6bf0401 100644
--- a/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch
+++ b/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch
@@ -47,7 +47,7 @@  Signed-off-by: John Crispin <blogic@openwrt.org>
 +			break;
 +
 +		cp0_timer_irq_installed = 0;
-+		free_irq(evt->irq, &c0_compare_irqaction);
++		remove_irq(evt->irq, &c0_compare_irqaction);
 +		break;
 +
 +	default: