diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2009-10-17 07:10:39 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2009-10-17 07:10:39 +0000 |
commit | 200f295b8e0f0296a93b7a591be6ba5953954fbe (patch) | |
tree | 9bc4e43e5690f4a58b043e96b0ebe48163095c8d /sys/dev/usb/uaudio.c | |
parent | 4827a29c5ffa51b65e031bc118ce16306f983d66 (diff) |
remove bogus quirk. these devices do not lie about their type, but
they do have bSynchAddress set to 0 in their endpoint descriptor.
uaudio(4) used to not handle that correctly, but now does.
positive response from krw, deraadt, ratchov
Diffstat (limited to 'sys/dev/usb/uaudio.c')
-rw-r--r-- | sys/dev/usb/uaudio.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/uaudio.c b/sys/dev/usb/uaudio.c index 65bc4972284..8aa9409c391 100644 --- a/sys/dev/usb/uaudio.c +++ b/sys/dev/usb/uaudio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uaudio.c,v 1.63 2009/10/15 08:47:44 jakemsr Exp $ */ +/* $OpenBSD: uaudio.c,v 1.64 2009/10/17 07:10:37 jakemsr Exp $ */ /* $NetBSD: uaudio.c,v 1.90 2004/10/29 17:12:53 kent Exp $ */ /* @@ -1549,9 +1549,6 @@ uaudio_process_as(struct uaudio_softc *sc, const char *buf, int *offsp, dir = UE_GET_DIR(ed->bEndpointAddress); type = UE_GET_ISO_TYPE(ed->bmAttributes); - if ((usbd_get_quirks(sc->sc_udev)->uq_flags & UQ_AU_INP_ASYNC) && - dir == UE_DIR_IN && type == UE_ISO_ADAPT) - type = UE_ISO_ASYNC; /* We can't handle endpoints that need a sync pipe yet. */ sync = FALSE; |