Alan, Yes 'req->td->dmadesc = 0;' is set from within start_dma right before the 'paranoia' block is called. (adding email train back to list serv) On Thu, Jan 21, 2016 at 4:41 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > On Thu, 21 Jan 2016, Justin DeFields wrote: > >> Alan, I guess I misspoke, but I was referring to the gadget-side >> driver (g_serial w/ acm). >> >> In any event, the short reads / writes are supposed to work (i.e. I'm >> using a rev AB silicon part), but if I transfer any file which is not >> on ep->maxpacket boundary, it will enter that 'paranoia' logic and >> eventually not complete. > > You mean you're seeing req->td->dmadesc == 0? And you think it's > because the > > req->td->dmadesc = 0; > > line in start_dma() is running? Why don't you put some debugging > statements near that line, instead of at the beginning of the function? > > It's been so many years since I worked on the net2280 code that I don't > remember any of it worth speaking of. And even when I did work on it, > I wasn't involved with the DMA part. > > Alan Stern > -- Justin DeFields Embedded Software Engineer -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html