ASoC: cs35l56: Stop creating ALSA controls for firmware coefficients
authorSimon Trimmer <simont@opensource.cirrus.com>
Mon, 5 Aug 2024 10:27:21 +0000 (10:27 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 5 Aug 2024 12:53:50 +0000 (13:53 +0100)
commit2c3640b82213cf2beb7c1cc3cfce2ecf5349b0de
tree21acfd5033c8d10981f9958d642b30f0efa25e96
parent45b4acab4cac79503663f0a4be9eb3752db04d4b
ASoC: cs35l56: Stop creating ALSA controls for firmware coefficients

A number of laptops have gone to market with old firmware versions that
export controls that have since been hidden, but we can't just install a
newer firmware because the firmware for each product is customized and
qualified by the OEM. The issue is that alsactl save and restore has no
idea what controls are good to persist which can lead to
misconfiguration.

There is no reason that the UCM or user should need to interact with any
of the ALSA controls for the firmware coefficients so they can be
removed entirely.

Fixes: e49611252900 ("ASoC: cs35l56: Add driver for Cirrus Logic CS35L56")
Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Link: https://patch.msgid.link/20240805102721.30102-3-simont@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56.c