Am Dienstag, 5. Juni 2007 14:43 schrieb Marcel Holtmann: Hello,
> > > To avoid confusion we could rename it to usb_release_t or something > > > similar. > > > > One usage is a bit weak to add common code. > > this is why I wanna have a general solution for one-shot buffers. I understand and concurr, but the correct way is to free the buffer in usbcore. It might allow us in a later stage to take less interrupts and is the cleaner way. [..] > > I am fine with your original patch. Perhaps you should resend it. > > Greg, did you see that patch? Do you have any comments on it? If the > solution is acceptable, I can complete the patch with the missing > helpers and "officially" submit it. Perhaps you need to have two flags, for freeing unconditionally and on condition of no errors having happened. If you free unconditionally handling errors, eg. clearing a stall becomes hard. Regards Oliver ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel