On Fri, 22 Oct 2004, Kyle Harris wrote:

> I suspect my hcd may have a problem with handling a hub_control request of 
> type USB_PORT_FEAT_RESET. The hcd in this case needs to service an interrupt 
> to complete the reset. If rh_urb_enqueue is called from interrupt context, 
> this is a problem. My current implementation seems to work fine, however. Can 
> I guarantee that rh_urb_enqueue will never be called from within interrupt 
> context. If not, any suggestions on how to handle this?

rh_urb_enqueue should never be called from within interrupt context for 
control URBs, which is what you're interested in.  If it does happen, it's 
a bug.

On the other hand, it can be called in interrupt context for interrupt
URBs.  That won't affect your driver, though.

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to