From: Takashi Iwai Date: Fri, 30 Sep 2011 06:52:26 +0000 (+0200) Subject: ALSA: hda - Fix a regression of the position-buffer check X-Git-Tag: v3.1-rc9~11^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=798cb7e897210dbf827f69a302c0967e0380ebac;p=pandora-kernel.git ALSA: hda - Fix a regression of the position-buffer check The commit a810364a0424c297242c6c66071a42f7675a5568 ALSA: hda - Handle -1 as invalid position, too caused a regression on some machines that require the position-buffer instead of LPIB, e.g. resulting in noises with mic recording with PulseAudio. This patch fixes the detection by delaying the test at the timing as same as 3.0, i.e. doing the position check only when requested in azx_position_ok(). Reported-and-tested-by: Rocko Requin Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed