PERFORCE change 164377 for review
Sylvestre Gallon
syl at FreeBSD.org
Sun Jun 14 20:34:20 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=164377
Change 164377 by syl at syl_atuin on 2009/06/14 20:33:47
Fix libusb20_tr_get_pointer call (spotted by Hans Petter Selasky).
Affected files ...
.. //depot/projects/soc2009/syl_usb/src/lib/libusb/libusb10.c#34 edit
Differences ...
==== //depot/projects/soc2009/syl_usb/src/lib/libusb/libusb10.c#34 (text+ko) ====
@@ -1036,9 +1036,9 @@
pthread_mutex_unlock(&ctx->flying_transfers_lock);
usb20_xfer[0] = libusb20_tr_get_pointer(pdev,
- (2 * xfer->endpoint) | (xfer->endpoint / 0x80));
+ (4 * xfer->endpoint) | (xfer->endpoint / 0x40));
usb20_xfer[1] = libusb20_tr_get_pointer(pdev,
- ((2 * xfer->endpoint) | (xfer->endpoint / 0x80)) + 1);
+ ((4 * xfer->endpoint) | (xfer->endpoint / 0x40)) + 1);
if (usb20_xfer[0] == NULL)
return (LIBUSB_ERROR_OTHER);
More information about the p4-projects
mailing list