]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/2.6.32.12/alsa-hda-add-position_fix-quirk-for-biostar-mobo.patch
Remove duplicated commits
[thirdparty/kernel/stable-queue.git] / releases / 2.6.32.12 / alsa-hda-add-position_fix-quirk-for-biostar-mobo.patch
CommitLineData
3ababc44
GKH
1From 8815cd030fdd73932a791d1f06194c8db807cde7 Mon Sep 17 00:00:00 2001
2From: Takashi Iwai <tiwai@suse.de>
3Date: Thu, 15 Apr 2010 09:02:41 +0200
4Subject: ALSA: hda - Add position_fix quirk for Biostar mobo
5
6From: Takashi Iwai <tiwai@suse.de>
7
8commit 8815cd030fdd73932a791d1f06194c8db807cde7 upstream.
9
10The Biostar mobo seems to give a wrong DMA position, resulting in
11stuttering or skipping sounds on 2.6.34. Since the commit
127b3a177b0d4f92b3431b8dca777313a07533a710, "ALSA: pcm_lib: fix "something
13must be really wrong" condition", makes the position check more strictly,
14the DMA position problem is revealed more clearly now.
15
16The fix is to use only LPIB for obtaining the position, i.e. passing
17position_fix=1. This patch adds a static quirk to achieve it as default.
18
19Reported-by: Frank Griffin <ftg@roadrunner.com>
20Cc: Eric Piel <Eric.Piel@tremplin-utc.net>
21Signed-off-by: Takashi Iwai <tiwai@suse.de>
22Cc: maximilian attems <max@stro.at>
23Signed-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 };