[PATCH 2/6] usb: musb: Fix sleeping function called from invalid context for hdrc glue

2016-11-16 Thread Bin Liu
From: Tony Lindgren Commit 65b3f50ed6fa ("usb: musb: Add PM runtime support for MUSB DSPS glue layer") wrongly added a call for pm_runtime_get_sync to otg_timer that runs in softirq context. That causes a "BUG: sleeping function called from invalid context" every time when

[PATCH 2/6] usb: musb: Fix sleeping function called from invalid context for hdrc glue

2016-11-15 Thread Tony Lindgren
Commit 65b3f50ed6fa ("usb: musb: Add PM runtime support for MUSB DSPS glue layer") wrongly added a call for pm_runtime_get_sync to otg_timer that runs in softirq context. That causes a "BUG: sleeping function called from invalid context" every time when polling the cable status: []

[PATCH 2/6] usb: musb: Fix sleeping function called from invalid context for hdrc glue

2016-11-11 Thread Tony Lindgren
Commit 65b3f50ed6fa ("usb: musb: Add PM runtime support for MUSB DSPS glue layer") wrongly added a call for pm_runtime_get_sync to otg_timer that runs in softirq context. That causes a "BUG: sleeping function called from invalid context" every time when polling the cable status: []