Control: tags -1 - moreinfo
Control: tags -1 + confirmed

Hi Benjamin

On Wed, Nov 04, 2026 at 05:24:38PM +0100, Benjamin Scherrer wrote:
> Hi Salvatore,
> 
> I downloaded upstream 6.12.115, applied patch 70b4db7d2581.patch from
> torvalds' repository with the diff
> 
> ###
> git diff -- sound/usb/pcm.c
> diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c
> index 3a4666e3b..bbffd978b 100644
> --- a/sound/usb/pcm.c
> +++ b/sound/usb/pcm.c
> @@ -1505,7 +1505,8 @@ static int prepare_playback_urb(struct
> snd_usb_substream *subs,
> 
>         for (i = 0; i < ctx->packets; i++) {
>                 counts = snd_usb_endpoint_next_packet_size(ep, ctx, i,
> avail);
> -               if (counts < 0 || frames + counts >= ep->max_urb_frames)
> +                       if (counts < 0 ||
> +                           (frames + counts) * stride > ctx->buffer_size)
>                         break;
>                 /* set up descriptor */
>                 urb->iso_frame_desc[i].offset = frames * stride;
> ###
> 
> After compiling and booting into that kernel, the sound works!

Thanks a lot for that and the confirmation. Sasha Levin in meanwhile
has queued the commit already for the next 6.12.y series update
upstream so we can include the fix with the next update:
https://lore.kernel.org/stable/[email protected]/

Regards,
Salvatore

Reply via email to