ramips: fix use remove_irq to release irqaction resource

Signed-off-by: Michael Lee <igvtee@gmail.com>

SVN-Revision: 47121
This commit is contained in:
John Crispin 2015-10-05 10:27:04 +00:00
parent ccf89e71f2
commit 10f75a2b7f

View file

@ -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: