aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 5e82acf77c5a..61ccbe832b75 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -3233,7 +3233,7 @@ static int alc_auto_create_multi_out_ctls(struct hda_codec *codec,
3233 int i, err, noutputs; 3233 int i, err, noutputs;
3234 3234
3235 noutputs = cfg->line_outs; 3235 noutputs = cfg->line_outs;
3236 if (spec->multi_ios > 0) 3236 if (spec->multi_ios > 0 && cfg->line_outs < 3)
3237 noutputs += spec->multi_ios; 3237 noutputs += spec->multi_ios;
3238 3238
3239 for (i = 0; i < noutputs; i++) { 3239 for (i = 0; i < noutputs; i++) {