]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: usb-audio: Check shutdown at endpoint_set_interface()
authorTakashi Iwai <tiwai@suse.de>
Thu, 8 Aug 2024 09:15:21 +0000 (11:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 8 Aug 2024 09:16:15 +0000 (11:16 +0200)
commit9b88d0890ed9adab413ea991fac90842688e1017
tree50b4cb24c2793bfbd4448a8f0f1afd4fc460557c
parentc01f3815453e2d5f699ccd8c8c1f93a5b8669e59
ALSA: usb-audio: Check shutdown at endpoint_set_interface()

The call of usb_set_interface() and a delay are superfluous when the
device has been already disconnected.  Add a disconnection check
before doing it.

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