PERFORCE change 164648 for review
Sylvestre Gallon
syl at FreeBSD.org
Thu Jun 18 08:38:57 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=164648
Change 164648 by syl at syl_pablo on 2009/06/18 08:38:38
Use the poll flags used by libusb20_dev_wait_process().
Affected files ...
.. //depot/projects/soc2009/syl_usb/src/lib/libusb/libusb10.c#40 edit
Differences ...
==== //depot/projects/soc2009/syl_usb/src/lib/libusb/libusb10.c#40 (text+ko) ====
@@ -380,7 +380,8 @@
hdl->dev = libusb_ref_device(dev);
hdl->claimed_interfaces = 0;
hdl->os_priv = dev->os_priv;
- err = usb_add_pollfd(ctx, libusb20_dev_get_fd(pdev), POLLOUT);
+ err = usb_add_pollfd(ctx, libusb20_dev_get_fd(pdev), POLLIN |
+ POLLOUT | POLLRDNORM | POLLWRNORM);
if (err < 0) {
libusb_unref_device(dev);
free(hdl);
More information about the p4-projects
mailing list