
20 Oct
2011
20 Oct
'11
4:54 p.m.
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.