ALSA: usb-audio: Avoid potentially repeated XRUN error messages
authorTakashi Iwai <tiwai@suse.de>
Mon, 16 Feb 2026 14:12:08 +0000 (15:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Feb 2026 14:13:59 +0000 (15:13 +0100)
commite98696edac6945144ece6819b0fad47192df4b2b
treee8e9b992b01d71e53d268e9a5fd8b1da29abbe12
parentfba2105a157fffcf19825e4eea498346738c9948
ALSA: usb-audio: Avoid potentially repeated XRUN error messages

Some XRUN-related error messages may repeat themselves, because there
can be multiple pending packets.  Modify notify_xrun() function to
return whether it's being stopped or not, and show the error message
only once when the XRUN is actually handled.

Along with it, fix a typo of word package to packet in the error
message.

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