Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
ASoC: cs35l56: Abort TDM mask loop at maximum channel shift
Exit the for_each_set_bit() loop in cs35l56_make_tdm_config_word() after all possible channel shifts have been done. This prevents going around the loop with out-of-range shift values, which is technically undefined behaviour. It also shuts up code analysis tools. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20260512123126.260148-1-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Author Richard Fitzgerald Committer Mark Brown Date (May 12, 2026, 1:21 PM UTC) Commit
Copy SHA
Parent ca1063ae ca1063ae03dcbf893dcd196ff073f9e7b5df8ccf