]> git.ipfire.org Git - thirdparty/linux.git/commit
ALSA: usb-audio: Use flexible allocation for Scarlett2 packets
authorRosen Penev <rosenp@gmail.com>
Tue, 19 May 2026 00:49:35 +0000 (17:49 -0700)
committerTakashi Iwai <tiwai@suse.de>
Tue, 19 May 2026 06:04:15 +0000 (08:04 +0200)
commit0c09413bde6ffa07b4b91a660fb6393dfdead82a
treef5235b6c29612c7dbd3cfc5f962c176585ecb94c
parentcce8ec8209892b972c743d66180cbe64f19ba83d
ALSA: usb-audio: Use flexible allocation for Scarlett2 packets

Allocate Scarlett2 USB packets and request buffers with the flex
allocation helpers for their trailing data arrays.

Keep the computed packet sizes where they are still needed for USB
transfer lengths.

Assisted-by: Codex:GPT-5.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260519004935.627797-1-rosenp@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_scarlett2.c