]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: SDCA: Fix overwritten var within for loop
authorMaciej Strozek <mstrozek@opensource.cirrus.com>
Wed, 8 Apr 2026 09:38:31 +0000 (10:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Apr 2026 11:30:41 +0000 (13:30 +0200)
commit0d74cb441ef69abfdfb352a886d7007278ed6f52
tree5689d602bddff0dfdb6e667ae14928646f61c942
parent9e5ebef91120d2764aefe557c3a484b6288f341f
ASoC: SDCA: Fix overwritten var within for loop

[ Upstream commit 23e0cbe55736de222ed975863cf06baf29bee5fe ]

mask variable should not be overwritten within the for loop or it will
skip certain bits. Change to using BIT() macro.

Fixes: b9ab3b618241 ("ASoC: SDCA: Add some initial IRQ handlers")
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260408093835.2881486-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/sdca/sdca_interrupts.c