Re: Question on HCD endpoint_reset() and MSD/UB driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 9 Jun 2009 16:29:38 -0700, Sarah Sharp <sarah.a.sharp@xxxxxxxxxxxxxxx> wrote:

> Can the endpoint_reset method be called in interrupt context?  I need to
> issue a command to the xHCI host controller hardware and wait on that
> command to complete before a driver can successfully submit new URBs for
> that endpoint.

Why don't you provide a reset completion callback, then?

>  - drivers/block/ub.c ub_scsi_urb_compl()

The ub_scsi_urb_compl runs in a tasklet context, which is essentially
and interrupt for all purposes (although the RT crowd tries to
make a thread of it).

If you give me a callback, I can easily add another state.

-- Pete
--
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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux