]> 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)
committerMark Brown <broonie@kernel.org>
Wed, 8 Apr 2026 15:55:28 +0000 (16:55 +0100)
commit23e0cbe55736de222ed975863cf06baf29bee5fe
tree12cd1ca76c6f9ba17aacf676fc3f98c57345e845
parent0669631dbccd41cf3ca7aa70213fcd8bb41c4b38
ASoC: SDCA: Fix overwritten var within for loop

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>
sound/soc/sdca/sdca_interrupts.c