cs4265: failed to add widget SPDIF dapm kcontrol

Mark Brown broonie at kernel.org
Mon Feb 14 18:14:13 CET 2022


On Mon, Feb 14, 2022 at 08:13:02AM -0300, Fabio Estevam wrote:

> asoc-simple-card sound: control 2:0:0:SPDIF Switch:0 is already present
> cs4265 1-004f: ASoC: failed to add widget SPDIF dapm kcontrol SPDIF Switch: -16

> SPDIF is not used on this board.

> Would you have any recommendations for getting rid of such error messages?

The driver is just plain buggy, it defines both a regular SPIDF Switch
control and a SND_SOC_DAPM_SWITCH() called SPDIF both of which will
create an identically named control, it can never have loaded without
error.  One or both of those has to be renamed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220214/11d4346e/attachment.sig>


More information about the Alsa-devel mailing list