artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60aa9d7
)
Return error if the USB request to get the sample rate fails.
author
ratchov
<ratchov@openbsd.org>
Tue, 27 Jun 2023 09:28:08 +0000
(09:28 +0000)
committer
ratchov
<ratchov@openbsd.org>
Tue, 27 Jun 2023 09:28:08 +0000
(09:28 +0000)
found by mlarkin
sys/dev/usb/uaudio.c
patch
|
blob
|
history
diff --git
a/sys/dev/usb/uaudio.c
b/sys/dev/usb/uaudio.c
index
96ab39d
..
d8e300a
100644
(file)
--- a/
sys/dev/usb/uaudio.c
+++ b/
sys/dev/usb/uaudio.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: uaudio.c,v 1.17
2 2022/10/26 20:19:09 kn Exp $
*/
+/* $OpenBSD: uaudio.c,v 1.17
3 2023/06/27 09:28:08 ratchov Exp $
*/
/*
* Copyright (c) 2018 Alexandre Ratchov <alex@caoua.org>
*
@@
-2216,7
+2216,7
@@
uaudio_process_ac(struct uaudio_softc *sc, struct uaudio_blob *p, int ifnum)
&u->rates)) {
printf("%s: failed to read clock rates\n",
DEVNAME(sc));
- return
1
;
+ return
0
;
}
#ifdef UAUDIO_DEBUG
if (uaudio_debug) {