]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/2.6.32.12/alsa-hda-add-position_fix-quirk-for-biostar-mobo.patch
Fixes for 5.10
[thirdparty/kernel/stable-queue.git] / releases / 2.6.32.12 / alsa-hda-add-position_fix-quirk-for-biostar-mobo.patch
1 From 8815cd030fdd73932a791d1f06194c8db807cde7 Mon Sep 17 00:00:00 2001
2 From: Takashi Iwai <tiwai@suse.de>
3 Date: Thu, 15 Apr 2010 09:02:41 +0200
4 Subject: ALSA: hda - Add position_fix quirk for Biostar mobo
5
6 From: Takashi Iwai <tiwai@suse.de>
7
8 commit 8815cd030fdd73932a791d1f06194c8db807cde7 upstream.
9
10 The Biostar mobo seems to give a wrong DMA position, resulting in
11 stuttering or skipping sounds on 2.6.34. Since the commit
12 7b3a177b0d4f92b3431b8dca777313a07533a710, "ALSA: pcm_lib: fix "something
13 must be really wrong" condition", makes the position check more strictly,
14 the DMA position problem is revealed more clearly now.
15
16 The fix is to use only LPIB for obtaining the position, i.e. passing
17 position_fix=1. This patch adds a static quirk to achieve it as default.
18
19 Reported-by: Frank Griffin <ftg@roadrunner.com>
20 Cc: Eric Piel <Eric.Piel@tremplin-utc.net>
21 Signed-off-by: Takashi Iwai <tiwai@suse.de>
22 Cc: maximilian attems <max@stro.at>
23 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
24
25 ---
26 sound/pci/hda/hda_intel.c | 1 +
27 1 file changed, 1 insertion(+)
28
29 --- a/sound/pci/hda/hda_intel.c
30 +++ b/sound/pci/hda/hda_intel.c
31 @@ -2235,6 +2235,7 @@ static struct snd_pci_quirk position_fix
32 SND_PCI_QUIRK(0x1458, 0xa022, "ga-ma770-ud3", POS_FIX_LPIB),
33 SND_PCI_QUIRK(0x1462, 0x1002, "MSI Wind U115", POS_FIX_LPIB),
34 SND_PCI_QUIRK(0x1565, 0x820f, "Biostar Microtech", POS_FIX_LPIB),
35 + SND_PCI_QUIRK(0x1565, 0x8218, "Biostar Microtech", POS_FIX_LPIB),
36 SND_PCI_QUIRK(0x8086, 0xd601, "eMachines T5212", POS_FIX_LPIB),
37 {}
38 };