From: Takashi Iwai Date: Fri, 13 Jun 2008 18:50:27 +0000 (+0200) Subject: ALSA: hda - bdl_pos_adj=32 as default X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0c6341ace5efb14a0da08482e299b3c158e0d5fb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Jaroslav Kysela --- 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, 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; } }