usb: musb: move work_struct(otg_notifier_work) from core to omap glue
Quoted 5 lines · Kishon Vijay Abraham I
Commit 712d8e(fixes
pm_runtimecalls while atomic by using a work queue. musbpm_runtime_get_synccall happens in interrupt context on cable attach case. That can result in re-enabling the interrupts and cause side affect. To avoid this deferred processing is used)
Quoted 7 lines
While the issue and the work queue implementation is specific to omap (
omap2430.c), thework_structis defined as a member of struct musb (musb_core.h). Hence moved thework_structfrommusb_coreto omap glue.Cc Vikram Pandita <[email protected]>Signed-off-by Kishon Vijay Abraham I <[email protected]>
didn't apply, please rebase on my musb branch.
Signature · 1 line
balbi