]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: cs35l56: Add control to read CAL_SET_STATUS
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Tue, 11 Nov 2025 13:08:49 +0000 (13:08 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 11 Nov 2025 13:52:48 +0000 (13:52 +0000)
commit69f3474a01e9867dd99fc4b703fa834ea1835c7d
tree324da2646890f14e2246e5670e5dec9d0bc0162b
parent772ada50282b0c80343c8989147db816961f571d
ASoC: cs35l56: Add control to read CAL_SET_STATUS

Create an ALSA control to read the value of the firmware
CAL_SET_STATUS control. This reports whether the firmware is
using a calibration blob or the default calibration from the
.bin file.

The firmware only reports a valid value in this register while
audio is actually playing and the internal PLL is locked to the
audio clock. Otherwise it returns a status of "unknown".

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20251111130850.513969-2-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