[alsa-devel] [PATCH] ASoC: tpa61xx: add back chip name to the controls

Lucas Stach l.stach at pengutronix.de
Tue Oct 17 12:59:46 CEST 2017


Am Dienstag, den 17.10.2017, 11:14 +0100 schrieb Mark Brown:
> On Tue, Oct 17, 2017 at 11:57:29AM +0200, Lucas Stach wrote:
> > Commit cb7e62256e99( ASoC: tpa6130a2: Register component) removed
> > the chip
> > name from the controls, which causes issues as the TPA61xx is not a
> > standalone codec, but a headphone amplifier, which may be connected
> > to the
> > line out of a codec which already exposes a "Headphone Playback
> > Volume"
> > control. In that case we end up with duplicate controls, causing
> > the
> > the probe of the soundcard to be aborted.
> 
> In this case the intention is that the machine driver should add a
> prefix via name_prefix in a struct snd_soc_codec_conf.

Thanks for the pointer.

In my case the machine driver is the simple-card. I'll have a look at
how I can get the prefix hooked up there.

Regards,
Lucas


More information about the Alsa-devel mailing list