[PATCH 0/2] ALSA: 6fire: avoid resubmitting an active URB

From: YuanZhe Liu

Date: Mon Nov 23 2026 - 03:49:05 EST


The 6fire driver submits URBs from callbacks that do not own them, and the
USB core complains when the URB is still queued:

URB 000000003ec29e65 submitted while active
WARNING: drivers/usb/core/urb.c:379 at usb_submit_urb

There are two independent paths. The MIDI output resubmits rt->out_urb
after the stream was stopped while the previous transfer was still in
flight, and the PCM capture handler unconditionally resubmits the
playback URB paired with the capture URB that has just completed.

Both patches make the driver check whether the URB is still queued, as
sound/usb/midi.c does with active_urbs, and leave the data to the
completion handler instead of submitting an active URB.


YuanZhe Liu (2):
ALSA: 6fire: Don't resubmit an active MIDI URB
ALSA: 6fire: Don't resubmit an active PCM out URB

sound/usb/6fire/midi.c | 21 +++++++++++++++++----
sound/usb/6fire/midi.h | 1 +
sound/usb/6fire/pcm.c | 16 +++++++++++++++-
sound/usb/6fire/pcm.h | 2 ++
4 files changed, 35 insertions(+), 5 deletions(-)

--
2.34.1