]> git.karo-electronics.de Git - linux-beck.git/commit
ALSA: hda - Fixes distorted recording on US15W chipset
authorShahin Ghazinouri <shahin.ghazinouri@pelagicore.com>
Tue, 11 May 2010 06:19:55 +0000 (08:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 May 2010 06:21:33 +0000 (08:21 +0200)
commitbeaffc399397eb9427225f37c1e56c099571b2df
treee9452284c4e3a5c0624dbc2c98482cd6fcbfe2b9
parent5433137336b049f1de8fc9a393991a49f1c1eb66
ALSA: hda - Fixes distorted recording on US15W chipset

The HDA controller in US15W (Poulsbo) reports inaccurate position values
for capture streams when using the LPIB read method, resulting in
distorted recordings.

However, using the position buffer is broken for playback streams,
resulting in a fallback to the LPIB method with the current driver.
This patch works around the issue by independently detecting the read
position method for capture and playback streams.

The patch will not have any effect if the position fix method is
explicitly set.

[Code simplified by tiwai]

Signed-off-by: Shahin Ghazinouri <shahin.ghazinouri@pelagicore.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c