ACK: [Impish][SRU][PATCH 0/1] Fix USB audio regression

Tim Gardner tim.gardner at canonical.com
Thu Mar 31 12:30:28 UTC 2022


Acked-by: Tim Gardner <tim.gardner at canonical.com>

On 3/30/22 21:28, Po-Hsu Lin wrote:
> [Impact]
> Commit d215f63d49da ("ALSA: usb-audio: Check available frames for the
> next packet size") landed in 5.13.0-35 introduced regression to USB
> audio device.
> 
> It's because this patch introduced the available frame size check, but
> the conversion forgot to initialize the temporary variable properly.
> 
> A workaround is to modify /etc/pulse/daemon.conf, set the
> default-sample-rate to 48000, uncomment it by removing the semicolon
> at the beginning of the line. And restart pulseaudio with:
>    systemctl --user restart pulseaudio.service
> 
> [Fix]
> * 23939115 ALSA: usb-audio: Fix packet size calculation regression
> This patch can be cherry-picked into Impish kernel, and it's already in
> the master-next branch of Jammy tree.
> 
> [Test]
> Test kernels built with 5.13.0-37 + this patch, can be found in:
> * Focal-5.13 - https://people.canonical.com/~phlin/kernel/lp-1966066-usb-audio/focal/
> * Impish-5.13 - https://people.canonical.com/~phlin/kernel/lp-1966066-usb-audio/impish/
> 
> Both kernels were tested by affected users and they're working as expected.
> 
> [Where problems could occur]
> If this patch is incorrect, it might affect USB audio devices.
> 
> Takashi Iwai (1):
>    ALSA: usb-audio: Fix packet size calculation regression
> 
>   sound/usb/endpoint.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 

-- 
-----------
Tim Gardner
Canonical, Inc



More information about the kernel-team mailing list