diff options
-rw-r--r-- | sound/pci/hda/hda_codec.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 2fdd1652bad3..a58fdf4cbe5c 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -2242,18 +2242,13 @@ int __devinit snd_hda_parse_pin_def_config(struct hda_codec *codec, | |||
2242 | * HDA sequence is: | 2242 | * HDA sequence is: |
2243 | * 4-ch: front/surr => OK as it is | 2243 | * 4-ch: front/surr => OK as it is |
2244 | * 6-ch: front/clfe/surr | 2244 | * 6-ch: front/clfe/surr |
2245 | * 8-ch: front/clfe/side/surr | 2245 | * 8-ch: front/clfe/rear/side|fc |
2246 | */ | 2246 | */ |
2247 | switch (cfg->line_outs) { | 2247 | switch (cfg->line_outs) { |
2248 | case 3: | 2248 | case 3: |
2249 | nid = cfg->line_out_pins[1]; | ||
2250 | cfg->line_out_pins[1] = cfg->line_out_pins[2]; | ||
2251 | cfg->line_out_pins[2] = nid; | ||
2252 | break; | ||
2253 | case 4: | 2249 | case 4: |
2254 | nid = cfg->line_out_pins[1]; | 2250 | nid = cfg->line_out_pins[1]; |
2255 | cfg->line_out_pins[1] = cfg->line_out_pins[3]; | 2251 | cfg->line_out_pins[1] = cfg->line_out_pins[2]; |
2256 | cfg->line_out_pins[3] = cfg->line_out_pins[2]; | ||
2257 | cfg->line_out_pins[2] = nid; | 2252 | cfg->line_out_pins[2] = nid; |
2258 | break; | 2253 | break; |
2259 | } | 2254 | } |