diff options
-rw-r--r-- | sound/pci/hda/hda_intel.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 38b063eb80e9..5cbea85a6453 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -2315,14 +2315,6 @@ static int __devinit check_position_fix(struct azx *chip, int fix) | |||
2315 | return fix; | 2315 | return fix; |
2316 | } | 2316 | } |
2317 | 2317 | ||
2318 | /* Check VIA/ATI HD Audio Controller exist */ | ||
2319 | switch (chip->driver_type) { | ||
2320 | case AZX_DRIVER_VIA: | ||
2321 | case AZX_DRIVER_ATI: | ||
2322 | /* Use link position directly, avoid any transfer problem. */ | ||
2323 | return POS_FIX_VIACOMBO; | ||
2324 | } | ||
2325 | |||
2326 | q = snd_pci_quirk_lookup(chip->pci, position_fix_list); | 2318 | q = snd_pci_quirk_lookup(chip->pci, position_fix_list); |
2327 | if (q) { | 2319 | if (q) { |
2328 | printk(KERN_INFO | 2320 | printk(KERN_INFO |
@@ -2331,6 +2323,15 @@ static int __devinit check_position_fix(struct azx *chip, int fix) | |||
2331 | q->value, q->subvendor, q->subdevice); | 2323 | q->value, q->subvendor, q->subdevice); |
2332 | return q->value; | 2324 | return q->value; |
2333 | } | 2325 | } |
2326 | |||
2327 | /* Check VIA/ATI HD Audio Controller exist */ | ||
2328 | switch (chip->driver_type) { | ||
2329 | case AZX_DRIVER_VIA: | ||
2330 | case AZX_DRIVER_ATI: | ||
2331 | /* Use link position directly, avoid any transfer problem. */ | ||
2332 | return POS_FIX_VIACOMBO; | ||
2333 | } | ||
2334 | |||
2334 | return POS_FIX_AUTO; | 2335 | return POS_FIX_AUTO; |
2335 | } | 2336 | } |
2336 | 2337 | ||