diff options
| author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-12-09 23:12:52 +0000 |
|---|---|---|
| committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-12-09 23:12:52 +0000 |
| commit | c9e072d09001b3fd16588a8941f6343ee1163e9f (patch) | |
| tree | a186ddd9efb15d6f5103c2c6ded5bf82ea18427e /sys/dev/sound | |
| parent | e4f658cee0d7db8d64eeadeb70e1c8a1b9a78517 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sound')
| -rw-r--r-- | sys/dev/sound/usb/uaudio.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c index 7701c3ce675a..ddae8c380c42 100644 --- a/sys/dev/sound/usb/uaudio.c +++ b/sys/dev/sound/usb/uaudio.c @@ -559,6 +559,13 @@ uaudio_probe(device_t dev) else return (0); } + + /* check for MIDI stream */ + + if ((uaa->info.bInterfaceClass == UICLASS_AUDIO) && + (uaa->info.bInterfaceSubClass == UISUBCLASS_MIDISTREAM)) { + return (0); + } return (ENXIO); } |
