Date: Sat, 19 May 2007 21:40:54 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 120084 for review Message-ID: <200705192140.l4JLesM2022155@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=120084 Change 120084 by hselasky@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"); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705192140.l4JLesM2022155>