]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: cs35l56: Log a message if firmware is missing
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Fri, 28 Nov 2025 11:25:20 +0000 (11:25 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 28 Nov 2025 11:48:02 +0000 (11:48 +0000)
commit816c9cac35185aff33da1eb73cc974349623eb3a
treeae22f2357ee3e956a0bc9b2c3c306e4de01ce773
parentfeab2875893510ea1bde4d3361431cd7ac53e555
ASoC: cs35l56: Log a message if firmware is missing

If the amp is still reporting FIRMWARE_MISSING after cs35l56_patch()
has completed it is helpful to log a warning.

After a complete firmware download the FIRMWARE_MISSING flag will be
clear. If this isn't the case, the driver should log a message to
report this.

The amp can produce basic audio output without firmware, as a fallback,
so this wasn't originally logged as a warning condition because the amp
is still in an operational state - just not with full functionality.
However, it was not at all obvious to an end user that anything is
unusual.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20251128112520.40067-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/cs35l56.h
sound/soc/codecs/cs35l56-shared.c
sound/soc/codecs/cs35l56.c