We can not call put_device() from irq context :(
I added a "might_sleep()" to the driver core and get the following from
the ehci driver. Any thoughts?
thanks,
greg k-h
Debug: sleeping function called from invalid context at drivers/base/core.c:343
in_atomic():1, irqs_disabled():0
[] __might
On Wednesday 18 January 2006 1:54 pm, Alan Stern wrote:
> On Wed, 18 Jan 2006, Greg KH wrote:
>
> > We can not call put_device() from irq context :(
> >
> > I added a "might_sleep()" to the driver core and get the following from
> > the ehci driver. Any thoughts?
>
> In principle the put_device
On Wed, Jan 18, 2006 at 04:54:04PM -0500, Alan Stern wrote:
> On Wed, 18 Jan 2006, Greg KH wrote:
>
> > We can not call put_device() from irq context :(
> >
> > I added a "might_sleep()" to the driver core and get the following from
> > the ehci driver. Any thoughts?
>
> In principle the put_de
On Wed, 18 Jan 2006, Greg KH wrote:
> We can not call put_device() from irq context :(
>
> I added a "might_sleep()" to the driver core and get the following from
> the ehci driver. Any thoughts?
In principle the put_device and corresponding get_device calls aren't
needed. We don't release a u