diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-02-11 05:35:15 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-02-11 18:04:19 -0500 |
commit | 0852d7a654f75d22a3c09fd7da4a3551bbb37740 (patch) | |
tree | 36cb4ec6ddd8a5b2ffa06e4d951282b3435b371b /sound/pci/hda/patch_analog.c | |
parent | 32d2c7fa1344ddf51886eddf31e228d139501dc6 (diff) |
ALSA: hda - Detect multiple digital-out pins
Detect multiple digital-out pins in snd_hda_parse_pin_defconfig().
The dig_out_pin and dig_out_type fields become arrays.
The codec parser still doesn't use this multiple pins detection, though.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_analog.c')
-rw-r--r-- | sound/pci/hda/patch_analog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index 6106dfe8ec04..d58c32b5b433 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c | |||
@@ -2898,7 +2898,7 @@ static int ad1988_parse_auto_config(struct hda_codec *codec) | |||
2898 | 2898 | ||
2899 | spec->multiout.max_channels = spec->multiout.num_dacs * 2; | 2899 | spec->multiout.max_channels = spec->multiout.num_dacs * 2; |
2900 | 2900 | ||
2901 | if (spec->autocfg.dig_out_pin) | 2901 | if (spec->autocfg.dig_outs) |
2902 | spec->multiout.dig_out_nid = AD1988_SPDIF_OUT; | 2902 | spec->multiout.dig_out_nid = AD1988_SPDIF_OUT; |
2903 | if (spec->autocfg.dig_in_pin) | 2903 | if (spec->autocfg.dig_in_pin) |
2904 | spec->dig_in_nid = AD1988_SPDIF_IN; | 2904 | spec->dig_in_nid = AD1988_SPDIF_IN; |