ALSA: usb-audio: Optimize the copy of packet sizes for implicit fb handling
authorTakashi Iwai <tiwai@suse.de>
Mon, 16 Feb 2026 14:12:06 +0000 (15:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Feb 2026 14:13:35 +0000 (15:13 +0100)
commit36adb51ac0b19edb32ffeea3fe66b174bad25ead
tree815cc2204673678d7b979eed2f4958a7955849b0
parentcf044e44190234a41a788de1cdbb6c21f4a52e1e
ALSA: usb-audio: Optimize the copy of packet sizes for implicit fb handling

We did manual copies over loop for the packet data update of the
implicit feedback, but this can be optimized with a simple memcpy().

Along with it, change the data type of snd_usb_packet_info struct to
align with other (from uint32_t to int).

No functional changes but only code optimizations.

Link: https://patch.msgid.link/20260216141209.1849200-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.h
sound/usb/endpoint.c