Skip to content
Commit 798cb7e8 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Fix a regression of the position-buffer check

The commit a810364a


    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: default avatarRocko Requin <rockorequin@hotmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0fac2590
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment