PERFORCE change 120084 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Sat May 19 21:40:56 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=120084
Change 120084 by hselasky at hselasky_mini_itx on 2007/05/19 21:40:06
Fix some problem related to sync/adaptive endpoints.
Affected files ...
.. //depot/projects/usb/src/sys/dev/sound/usb/uaudio.c#11 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/sound/usb/uaudio.c#11 (text+ko) ====
@@ -1042,11 +1042,12 @@
ep_sync = 1;
}
+ /* Ignore sync endpoint information until further. */
+#if 0
if (ep_sync && (!ed2)) {
continue;
}
-#if 1
/* we can't handle endpoints that need a sync pipe yet */
if (ep_sync) {
@@ -1425,8 +1426,8 @@
*/
if (ch->p_asf1d->bSamFreqType != 1) {
if (uaudio_set_speed(sc->sc_udev, endpoint, ch->sample_rate)) {
- DPRINTF(0, "setting of sample rate failed!\n");
- goto error;
+ /* If the endpoint is adaptive setting the speed may fail. */
+ DPRINTF(0, "setting of sample rate failed! (continuing anyway)\n");
}
}
More information about the p4-projects
mailing list