Subject: Re: aue panic in 3.0
To: Hans Petter Selasky <hselasky@c2i.net>
From: Iain Hibbert <plunky@rya-online.net>
List: tech-net
Date: 09/15/2006 20:56:49
On Thu, 14 Sep 2006, Hans Petter Selasky wrote:

> On Thursday 14 September 2006 20:38, Iain Hibbert wrote:
> > Is usbd_transfer allowed to be called from interrupt context?
>
> The answer is no. Deep inside the [old] USB system, usbd_transfer can allocate
> memory when it is called, that can sleep

That is true but I think 'can' is not 'will' - if the driver wants to call
usbd_transfer from interrupt context, the allocation can be arranged
safely in advance, so far as I can tell..?

> and secondly in the case which Ignatios reported, USBD_SYNCHRONOUS is
> set, so usbd_transfer will sleep!

yeah :)

iain