Two questions:

(1) Is it ok to submit an urb during an interrupt context
(actually, URB completion handler)?

I guess the answer is "yes" since it is done on line 576 of
pegasus.c.

(2) Why does the pegasus driver bother to submit a new
URB during completion (in fact it resubmits the same URB
it is handling completion for)? - wouldn't it be simpler just to
link the URB to itself (using the "next" field), causing the
usb subsystem to automatically submit it endlessly (avoid
the need to explicitly resubmit it)?

Thanks for your time,

Duncan.

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to