Hi, Oliver Neukum wrote: > Hi, > > allocating a buffer with usb_buffer_alloc() is pointless if you don't > set transfer_flags. > Again, I'm not responsible of that part of the code. I cc'ed two people (Stelian Pop and Johannes Berg), who gave a lot of input when I submitted my patch...
Best regards, Nicolas > Regards > Oliver > > Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> > > --- current/drivers/usb/input/appletouch.c 2006-09-20 05:42:06.000000000 > +0200 > +++ linux-2.6.18/drivers/usb/input/appletouch.c 2006-09-29 > 20:25:29.000000000 +0200 > @@ -522,6 +522,7 @@ > usb_fill_int_urb(dev->urb, udev, > usb_rcvintpipe(udev, int_in_endpointAddr), > dev->data, dev->datalen, atp_complete, dev, 1); > + dev->urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; > > usb_make_path(udev, dev->phys, sizeof(dev->phys)); > strlcat(dev->phys, "/input0", sizeof(dev->phys)); > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel