MIPS: lantiq: Fix bitfield masking
authorPetr Cvek <petrcvekcz@gmail.com>
Thu, 20 Jun 2019 21:39:37 +0000 (23:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Aug 2019 17:06:48 +0000 (19:06 +0200)
commita3524486535a02aa5db127a70e2bf6a0f7f62cd4
treea09459916cccc7fcb34bab3579772c05a1b769bc
parentcdee3f53510a65c07b98e18a534c69b62027eb96
MIPS: lantiq: Fix bitfield masking

[ Upstream commit ba1bc0fcdeaf3bf583c1517bd2e3e29cf223c969 ]

The modification of EXIN register doesn't clean the bitfield before
the writing of a new value. After a few modifications the bitfield would
accumulate only '1's.

Signed-off-by: Petr Cvek <petrcvekcz@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: hauke@hauke-m.de
Cc: john@phrozen.org
Cc: linux-mips@vger.kernel.org
Cc: openwrt-devel@lists.openwrt.org
Cc: pakahmar@hotmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/lantiq/irq.c