diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-03-12 12:06:07 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-03-12 12:06:07 -0400 |
commit | 9421f9543b3a0a870499f64498406003de8214b4 (patch) | |
tree | c8246e6a92d250f481c22b51d5113e73445da782 /sound/pci/hda/hda_proc.c | |
parent | 3b7523fc828e41b2988feb400704e01b67859d78 (diff) |
ALSA: hda - Print multiple out-amp values of pin widgets on Conext codecs
Add a flag to work around the non-standard amp-value handling on
Conexant codecs.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_proc.c')
-rw-r--r-- | sound/pci/hda/hda_proc.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_proc.c b/sound/pci/hda/hda_proc.c index 144b85276d5a..93b25ba4d00b 100644 --- a/sound/pci/hda/hda_proc.c +++ b/sound/pci/hda/hda_proc.c | |||
@@ -554,8 +554,14 @@ static void print_codec_info(struct snd_info_entry *entry, | |||
554 | snd_iprintf(buffer, " Amp-Out caps: "); | 554 | snd_iprintf(buffer, " Amp-Out caps: "); |
555 | print_amp_caps(buffer, codec, nid, HDA_OUTPUT); | 555 | print_amp_caps(buffer, codec, nid, HDA_OUTPUT); |
556 | snd_iprintf(buffer, " Amp-Out vals: "); | 556 | snd_iprintf(buffer, " Amp-Out vals: "); |
557 | print_amp_vals(buffer, codec, nid, HDA_OUTPUT, | 557 | if (wid_type == AC_WID_PIN && |
558 | wid_caps & AC_WCAP_STEREO, 1); | 558 | codec->pin_amp_workaround) |
559 | print_amp_vals(buffer, codec, nid, HDA_OUTPUT, | ||
560 | wid_caps & AC_WCAP_STEREO, | ||
561 | conn_len); | ||
562 | else | ||
563 | print_amp_vals(buffer, codec, nid, HDA_OUTPUT, | ||
564 | wid_caps & AC_WCAP_STEREO, 1); | ||
559 | } | 565 | } |
560 | 566 | ||
561 | switch (wid_type) { | 567 | switch (wid_type) { |