[alsa-devel] [PATCH v5] ASoC:Add support for cs42l73 codec

Austin, Brian Brian.Austin at cirrus.com
Thu Oct 20 15:54:06 CEST 2011


On Oct 19, 2011, at 3:42 AM, Vinod Koul wrote:

> On Tue, 2011-10-18 at 10:46 -0500, Brian Austin wrote:
>> +static const struct snd_soc_dapm_route cs42l73_audio_map[] = {
>> +
>> +       {"HPOUT", NULL, "HP Amp"},
>> +       {"LINEOUT", NULL, "LO Amp"},
>> +       {"SPKOUT", NULL, "SPK Amp"},
>> +       {"EAROUT", NULL, "EAR Amp"},
>> +       {"SPKLINEOUT", NULL, "SPKLO Amp"},
>> +
>> +       {"HP Amp", "Switch", "DAC1"},
>> +       {"LO Amp", "Switch", "DAC1"},
>> +       {"SPK Amp", "Switch", "DAC2"},
>> +       {"SPKLO Amp", "Switch", "DAC2"},
>> +       {"EAR Amp", "Switch", "DAC2"},
>> + 
> Since you have a mixer in codec before each of the amp, who is going to
> configure those? And how are they represented here?
> 
> -- 
> ~Vinod
> 
> 
The mixer in the codec is configured by the Attenuation mixer controls.
You then select the mono/stereo output with the xSP Output Mixer Select.
I didn't think we needed to represent that in the DAPM map.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3917 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20111020/95b033da/attachment-0001.p7s 


More information about the Alsa-devel mailing list