]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:05:20 +0000 (19:05 +0200)
commit6debf98d7702158532705bc698b1d8fb6b9612a6
treeae13146e382fc38af71c989b837e6528a05c80e1
parent902d0ba7f76cd07e1705e277aca65b3cafdb3e22
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