aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-06-13 14:50:27 -0400
committerJaroslav Kysela <perex@perex.cz>2008-06-16 03:32:34 -0400
commit0c6341ace5efb14a0da08482e299b3c158e0d5fb (patch)
tree8a178f22e6ced50bcd780d2fcc52be68caa49262 /sound
parent6ed2597883b1b03ca94f62f0cfe908314cba6d6b (diff)
ALSA: hda - bdl_pos_adj=32 as default
Use bdl_pos_adj=32 as default except for Intel hardwares confirmed to work with bdl_pos_adj=1. Looks like ATI and NVidia require this higher value. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/hda_intel.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index ec4ae2d94000..539d20102c32 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2024,12 +2024,11 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci,
2024 2024
2025 if (bdl_pos_adj[dev] < 0) { 2025 if (bdl_pos_adj[dev] < 0) {
2026 switch (chip->driver_type) { 2026 switch (chip->driver_type) {
2027 case AZX_DRIVER_ATI: 2027 case AZX_DRIVER_ICH:
2028 case AZX_DRIVER_ATIHDMI: 2028 bdl_pos_adj[dev] = 1;
2029 bdl_pos_adj[dev] = 32;
2030 break; 2029 break;
2031 default: 2030 default:
2032 bdl_pos_adj[dev] = 1; 2031 bdl_pos_adj[dev] = 32;
2033 break; 2032 break;
2034 } 2033 }
2035 } 2034 }