Re: [PATCH v2 1/5] usb: musb: move port reset to worker

2013-10-02 Thread Daniel Mack
On 02.10.2013 12:46, Sebastian Andrzej Siewior wrote: > * Daniel Mack | 2013-10-01 15:39:53 [+0200]: > >> musb_port_reset() sleeps, so we can't call it from atomic context. It >> is, however, called from places inside musb_hub_control() while >> &musb->lock is held, which leads to a "scheduling wh

Re: [PATCH v2 1/5] usb: musb: move port reset to worker

2013-10-02 Thread Sebastian Andrzej Siewior
* Daniel Mack | 2013-10-01 15:39:53 [+0200]: >musb_port_reset() sleeps, so we can't call it from atomic context. It >is, however, called from places inside musb_hub_control() while >&musb->lock is held, which leads to a "scheduling while atomic" warning. I guess you are hit by the msleep(1) here.