ALSA: usb-audio: Disable low-latency playback for free-wheel mode
authorTakashi Iwai <tiwai@suse.de>
Wed, 29 Sep 2021 08:08:39 +0000 (10:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Dec 2021 08:04:36 +0000 (09:04 +0100)
commit5ca1fa52d351256f3378593bcc53b995b855a46d
tree05be54040f36447f47fa18de3f21149fe6c266fa
parent2d9ea74b3751f3c736af10a360648df600d3ee7e
ALSA: usb-audio: Disable low-latency playback for free-wheel mode

commit e581f1cec4f899f788f6c9477f805b1d5fef25e2 upstream.

The free-wheel stream operation like dmix may not update the appl_ptr
appropriately, and it doesn't fit with the low-latency playback mode.
Disable the low-latency playback operation when the stream is set up
in such a mode.

Link: https://lore.kernel.org/r/20210929080844.11583-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/pcm.c