Skip to content

Commit

Permalink
ALSA: hda - bdl_pos_adj=32 as default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jun 16, 2008
1 parent 6ed2597 commit 0c6341a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sound/pci/hda/hda_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 0c6341a

Please sign in to comment.