APPLIED: [Impish][SRU][PATCH 0/1] Fix USB audio regression
Stefan Bader
stefan.bader at canonical.com
Wed Apr 13 08:36:35 UTC 2022
On 31.03.22 05: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(-)
>
Applied to impish:linux/master-next. Thanks.
-Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20220413/85452ee4/attachment.sig>
More information about the kernel-team
mailing list