diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-05-04 12:28:50 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-05-04 12:28:50 -0400 |
commit | 447ee6a7cbbfb5ae7ab8f9b8b058b4a04fe398bf (patch) | |
tree | a2c67de49b17f7d51e4d1b822ee0a7ffa909f37f /sound | |
parent | ce85c9ac8dd53a658d85b4f39f612c23aa704e49 (diff) |
ALSA: hda - Use position_fix=3 as default for AMD chipsets
AMD chipsets often behave pretty badly regarding the DMA position
reporting. It results in the bad quality audio recording.
Using position_fix=3 works well in general for them, so let's enable
it as default for AMD.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index f95ff6e029a9..010fd3181961 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -2364,6 +2364,11 @@ static int __devinit check_position_fix(struct azx *chip, int fix) | |||
2364 | case AZX_DRIVER_ATI: | 2364 | case AZX_DRIVER_ATI: |
2365 | /* Use link position directly, avoid any transfer problem. */ | 2365 | /* Use link position directly, avoid any transfer problem. */ |
2366 | return POS_FIX_VIACOMBO; | 2366 | return POS_FIX_VIACOMBO; |
2367 | case AZX_DRIVER_GENERIC: | ||
2368 | /* AMD chipsets behave often badly, too */ | ||
2369 | if (chip->pci->vendor == PCI_VENDOR_ID_AMD) | ||
2370 | return POS_FIX_VIACOMBO; | ||
2371 | break; | ||
2367 | } | 2372 | } |
2368 | 2373 | ||
2369 | return POS_FIX_AUTO; | 2374 | return POS_FIX_AUTO; |