]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: cs35l56: Log SoundWire status updates only on changes
authorSimon Trimmer <simont@opensource.cirrus.com>
Thu, 14 May 2026 15:18:54 +0000 (16:18 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 15 May 2026 01:57:05 +0000 (10:57 +0900)
commit9c0f5bbff146f09f449dd528addeabfb68aef997
tree92e2f9f01ae1887afe207de75ebd5b98ff5888f2
parentc996a4418dd4ee45cd086586c04a1103e8160308
ASoC: cs35l56: Log SoundWire status updates only on changes

The SoundWire slave update_status() callback can be invoked when the
status has not changed. To prevent large amounts of log noise with debug
enabled, log them only when the status changes. This also helps with
understanding them, because they now log an actual change in state.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20260514151854.695145-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56-sdw.c