Comment 25 for bug 677734

Revision history for this message
Raymond (superquad-vortex2) wrote :

The point is only spec->adc_nids[0] is used in via_build_pcms

1953 static int via_build_pcms(struct hda_codec *codec)
1954 {
1955 struct via_spec *spec = codec->spec;
1956 struct hda_pcm *info = spec->pcm_rec;
1957
1958 codec->num_pcms = 1;
1959 codec->pcm_info = info;
1960
1961 info->name = spec->stream_name_analog;
1962 info->stream[SNDRV_PCM_STREAM_PLAYBACK] =
1963 *(spec->stream_analog_playback);
1964 info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid =
1965 spec->multiout.dac_nids[0];
1966 info->stream[SNDRV_PCM_STREAM_CAPTURE] = *(spec->stream_analog_capture);
1967 info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->adc_nids[0];