Files
linux/drivers
Colin Ian King 40017db20b clk: sunxi-ng: a80: fix the zero'ing of bits 16 and 18
[ Upstream commit cdfc2e2086 ]

The zero'ing of bits 16 and 18 is incorrect. Currently the code
is masking with the bitwise-and of BIT(16) & BIT(18) which is
0, so the updated value for val is always zero. Fix this by bitwise
and-ing value with the correct mask that will zero bits 16 and 18.

Addresses-Coverity: (" Suspicious &= or |= constant expression")
Fixes: b8eb71dcdd ("clk: sunxi-ng: Add A80 CCU")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05 09:19:39 +01:00
..
2019-12-01 09:17:38 +01:00
2019-05-14 19:17:53 +02:00
2019-10-05 13:09:45 +02:00
2019-12-01 09:17:33 +01:00
2019-11-20 18:47:35 +01:00
2019-07-26 09:14:05 +02:00
2018-12-21 14:15:17 +01:00
2018-11-13 11:08:51 -08:00
2019-12-01 09:16:16 +01:00