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 16:29:35 +0000 (18:29 +0200)
commitf1741424feee85d5583948ab100e045bf5155d67
tree1831b0eaaf8624662a73ddcf47e6d88eac429c3c
parent104307692801868ce85751f0393a0072745406d6
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