Subject: Re: aue panic in 3.0
To: Iain Hibbert <email@example.com>
From: Hans Petter Selasky <firstname.lastname@example.org>
Date: 09/14/2006 22:55:55
On Thursday 14 September 2006 20:38, Iain Hibbert wrote:
> On Thu, 14 Sep 2006, Hans Petter Selasky wrote:
> > > Is usbd_transfer supposed to not be called from interupt context?
> > No.
> sorry, but there are too many negatives here and I cannot understand the
> answer :)
> 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, and secondly in the case which
Ignatios reported, USBD_SYNCHRONOUS is set, so usbd_transfer will sleep!