MIPS: ralink: Fix clearing the illegal access interrupt
authorJonas Gorski <jogo@openwrt.org>
Mon, 25 May 2015 17:53:54 +0000 (19:53 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 1 Jun 2015 08:51:37 +0000 (10:51 +0200)
commit9dd6f1c166bc6e7b582f6203f2dc023ec65e3ed5
treeef9ffb514d9941f8de49a68aac5872b241d8b255
parentc65b99f046843d2455aa231747b5a07a999a9f3d
MIPS: ralink: Fix clearing the illegal access interrupt

Due to a typo the illegal access interrupt is never cleared in by
the interupt handler, causing an effective deadlock on the first
illegal access.

This was broken since the code was introduced in 5433acd81e87 ("MIPS:
ralink: add illegal access driver"), but only exposed when the Kconfig
symbol was added, thus enabling the code.

Cc: <stable@vger.kernel.org> [3.18+]
Fixes: a7b7aad383c ("MIPS: ralink: add missing symbol for RALINK_ILL_ACC")
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: John Crispin <blogic@openwrt.org>
Patchwork: https://patchwork.linux-mips.org/patch/10172/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ralink/ill_acc.c