diff options
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; |