]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ALSA: hda: Fix position reporting on Poulsbo
authorTakashi Iwai <tiwai@suse.de>
Sat, 1 Oct 2022 14:21:24 +0000 (16:21 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 23 Nov 2022 14:12:12 +0000 (15:12 +0100)
commitb2da9bd39079db80e9d6fa6a3343af7d705e266d
tree3a631095aa7cac6a7ac3fb06b48d2c2774f12ca1
parentcec9f756ec20a067ecb69ca230a3f4894a0d0b91
ALSA: hda: Fix position reporting on Poulsbo

BugLink: https://bugs.launchpad.net/bugs/1995638
commit 56e696c0f0c71b77fff921fc94b58a02f0445b2c upstream.

Hans reported that his Sony VAIO VPX11S1E showed the broken sound
behavior at the start of the stream for a couple of seconds, and it
turned out that the position_fix=1 option fixes the issue.  It implies
that the position reporting is inaccurate, and very likely hitting on
all Poulsbo devices.

The patch applies the workaround for Poulsbo generically to switch to
LPIB mode instead of the default position buffer.

Reported-and-tested-by: Hans de Goede <hdegoede@redhat.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/3e8697e1-87c6-7a7b-d2e8-b21f1d2f181b@redhat.com
Link: https://lore.kernel.org/r/20221001142124.7241-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
sound/pci/hda/hda_intel.c