* cs4265: failed to add widget SPDIF dapm kcontrol
@ 2022-02-14 11:13 Fabio Estevam
2022-02-14 17:14 ` Mark Brown
0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2022-02-14 11:13 UTC (permalink / raw)
To: Charles Keepax; +Cc: Linux-ALSA, Mark Brown
Hi Charles,
I have a custom board with a cs4265 codec and the audio plays fine.
During boot, the following error messages are seen:
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?
Thanks,
Fabio Estevam
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cs4265: failed to add widget SPDIF dapm kcontrol
2022-02-14 11:13 cs4265: failed to add widget SPDIF dapm kcontrol Fabio Estevam
@ 2022-02-14 17:14 ` Mark Brown
2022-02-14 17:15 ` Mark Brown
2022-02-14 19:58 ` Fabio Estevam
0 siblings, 2 replies; 4+ messages in thread
From: Mark Brown @ 2022-02-14 17:14 UTC (permalink / raw)
To: Fabio Estevam; +Cc: Linux-ALSA, Charles Keepax
[-- Attachment #1: Type: text/plain, Size: 592 bytes --]
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cs4265: failed to add widget SPDIF dapm kcontrol
2022-02-14 17:14 ` Mark Brown
@ 2022-02-14 17:15 ` Mark Brown
2022-02-14 19:58 ` Fabio Estevam
1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2022-02-14 17:15 UTC (permalink / raw)
To: Fabio Estevam; +Cc: Linux-ALSA, Charles Keepax
[-- Attachment #1: Type: text/plain, Size: 740 bytes --]
On Mon, Feb 14, 2022 at 05:14:17PM +0000, Mark Brown wrote:
> 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.
...or they need to be merged into one thing.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cs4265: failed to add widget SPDIF dapm kcontrol
2022-02-14 17:14 ` Mark Brown
2022-02-14 17:15 ` Mark Brown
@ 2022-02-14 19:58 ` Fabio Estevam
1 sibling, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2022-02-14 19:58 UTC (permalink / raw)
To: Mark Brown; +Cc: Linux-ALSA, Charles Keepax
Hi Mark,
On Mon, Feb 14, 2022 at 2:14 PM Mark Brown <broonie@kernel.org> wrote:
> 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.
Thanks. That did the trick. I have just sent a patch.
Thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-02-14 19:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14 11:13 cs4265: failed to add widget SPDIF dapm kcontrol Fabio Estevam
2022-02-14 17:14 ` Mark Brown
2022-02-14 17:15 ` Mark Brown
2022-02-14 19:58 ` Fabio Estevam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.