]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Drop the BATCH workaround for AMD controllers
authorTakashi Iwai <tiwai@suse.de>
Mon, 8 Mar 2021 16:07:26 +0000 (17:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Mar 2021 16:09:25 +0000 (17:09 +0100)
commit941bb7a83900be71de832cd3603ab368e76df0e2
tree7a33f6f5ab211a16a7a2170918b24fb095114ce9
parent1b8bd930b05ba1f659bccfc6ef406e93916f57ed
ALSA: hda: Drop the BATCH workaround for AMD controllers

The commit 151e1482dd15 ("ALSA: hda - Workaround for crackled sound on
AMD controller (1022:1457)") introduced a few workarounds for the
recent AMD HD-audio controller, and one of them is the forced BATCH
PCM mode so that PulseAudio avoids the timer-based scheduling.  This
was thought to cover for some badly working applications, but this
actually worsens for more others.  In total, this wasn't a good idea
to enforce it.

This is a partial revert of the commit above for dropping the PCM
BATCH enforcement part to recover from the regression again.

Fixes: 151e1482dd15 ("ALSA: hda - Workaround for crackled sound on AMD controller (1022:1457)")
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=195303
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210308160726.22930-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_controller.c