ASoC: cs35l56: Apply amp calibration from EFI data
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Fri, 23 Feb 2024 15:39:08 +0000 (15:39 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 23 Feb 2024 17:21:41 +0000 (17:21 +0000)
commit1326444e93c250ff99eba048f699313ba6acbf2f
tree20914ab3b0f13263d1ca2ef420bd916fc0713dd1
parente1830f66f6c62d288d2c27a7ed18ab93caa0b253
ASoC: cs35l56: Apply amp calibration from EFI data

If there are factory calibration settings in EFI, extract the
settings and write them to the firmware calibration controls.

This must be done after any firmware or coefficients have been
downloaded to the amp.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20240223153910.2063698-5-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56-sdw.c
sound/soc/codecs/cs35l56.c