ALSA: hda - bdl_pos_adj=32 as default
authorTakashi Iwai <tiwai@suse.de>
Fri, 13 Jun 2008 18:50:27 +0000 (20:50 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 16 Jun 2008 07:32:34 +0000 (09:32 +0200)
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>
sound/pci/hda/hda_intel.c

index ec4ae2d94000ffe9043ac3d187d1929aa2014f36..539d20102c32a8cfe117aff66ef960e5ec7e6157 100644 (file)
@@ -2024,12 +2024,11 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci,
 
        if (bdl_pos_adj[dev] < 0) {
                switch (chip->driver_type) {
-               case AZX_DRIVER_ATI:
-               case AZX_DRIVER_ATIHDMI:
-                       bdl_pos_adj[dev] = 32;
+               case AZX_DRIVER_ICH:
+                       bdl_pos_adj[dev] = 1;
                        break;
                default:
-                       bdl_pos_adj[dev] = 1;
+                       bdl_pos_adj[dev] = 32;
                        break;
                }
        }