On Fri, Aug 12, 2011 at 07:38:51AM -0700, Vikram Pandita wrote:
From: Vikram Pandita vikram.pand...@ti.com
musb pm_runtime_get_sync call happens in intrrupt context on cable attach case
That can result in re-enabling the interrupts and cause side affects.
So move the code to a work queue.
Felipe
On Fri, Aug 12, 2011 at 10:21 AM, Pandita, Vikram vikram.pand...@ti.com wrote:
On Fri, Aug 12, 2011 at 10:04 AM, Alan Stern st...@rowland.harvard.edu
wrote:
On Fri, 12 Aug 2011, Pandita, Vikram wrote:
On Fri, Aug 12, 2011 at 8:50 AM, Alan Stern st...@rowland.harvard.edu
wrote:
From: Vikram Pandita vikram.pand...@ti.com
musb pm_runtime_get_sync call happens in intrrupt context on cable attach case
That can result in re-enabling the interrupts and cause side affects.
So move the code to a work queue.
Following is the error path hit on cable attach:
BUG: sleeping
On Fri, 12 Aug 2011, Vikram Pandita wrote:
From: Vikram Pandita vikram.pand...@ti.com
musb pm_runtime_get_sync call happens in intrrupt context on cable attach case
That can result in re-enabling the interrupts and cause side affects.
So move the code to a work queue.
Instead of creating
On Fri, Aug 12, 2011 at 8:50 AM, Alan Stern st...@rowland.harvard.edu wrote:
On Fri, 12 Aug 2011, Vikram Pandita wrote:
From: Vikram Pandita vikram.pand...@ti.com
musb pm_runtime_get_sync call happens in intrrupt context on cable attach
case
That can result in re-enabling the interrupts
On Fri, 12 Aug 2011, Pandita, Vikram wrote:
On Fri, Aug 12, 2011 at 8:50 AM, Alan Stern st...@rowland.harvard.edu wrote:
On Fri, 12 Aug 2011, Vikram Pandita wrote:
From: Vikram Pandita vikram.pand...@ti.com
musb pm_runtime_get_sync call happens in intrrupt context on cable attach
On Fri, Aug 12, 2011 at 10:04 AM, Alan Stern st...@rowland.harvard.edu wrote:
On Fri, 12 Aug 2011, Pandita, Vikram wrote:
On Fri, Aug 12, 2011 at 8:50 AM, Alan Stern st...@rowland.harvard.edu
wrote:
On Fri, 12 Aug 2011, Vikram Pandita wrote:
From: Vikram Pandita