OSDN Git Service

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:28:25 +0000 (18:28 +0200)
commit2bd828014a4b6997820b058821598d0df1ed2f44
treea873ff09a1c3598545247921762de1ea76b70cc5
parent0e505a100977c051221591e9c3382bade586fb68
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