Re: [PATCH v2] USB: EHCI: fix scheduling while atomic during suspend

From: Alan Stern
Date: Fri Jan 28 2011 - 10:27:12 EST


On Fri, 28 Jan 2011, Yin Kangkai wrote:

> There is a msleep with spin lock held during ehci pci suspend, which will
> cause kernel BUG: scheduling while atomic. Fix that.

> v2:
> - move spin_lock_irqsave to a smaller scope.
>
> CC: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> CC: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
> CC: Greg Kroah-Hartman <gregkh@xxxxxxx>
> CC: stable@xxxxxxxxxx
> Signed-off-by: Yin Kangkai <kangkai.yin@xxxxxxxxx>

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/