diff options
-rw-r--r-- | sys/dev/sound/usb/uaudio.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c index 7e4bb52..3c35351 100644 --- a/sys/dev/sound/usb/uaudio.c +++ b/sys/dev/sound/usb/uaudio.c @@ -3114,7 +3114,11 @@ uaudio_chan_close(struct uaudio_softc *sc, struct chan *ch) if (sc->sc_nullalt >= 0) { DPRINTF(("uaudio_chan_close: set null alt=%d\n", sc->sc_nullalt)); - usbd_set_interface(as->ifaceh, sc->sc_nullalt); + /* + * The interface will be initialized later again, so an + * error does not hurt. + */ + (void)usbd_set_interface(as->ifaceh, sc->sc_nullalt); } if (ch->pipe) { usbd_abort_pipe(ch->pipe); |