]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
usb: musb: Use delayed for musb_gadget_pullup
authorTony Lindgren <tony@atomide.com>
Tue, 31 May 2016 15:05:14 +0000 (10:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Jun 2016 21:58:59 +0000 (14:58 -0700)
commit517bafffcaf8f882299a74e310082e7b6b2288ad
tree2466a994f722d60cfed9fc894d3565ba506fa9ae
parent30647217909ea8ce4d8f4905b15fa1bb09d80859
usb: musb: Use delayed for musb_gadget_pullup

We have MUSB setting pm_runtime_irq_safe with the following
commits:

30a70b026b4c ("usb: musb: fix obex in g_nokia.ko causing kernel panic")
3e43a0725637 ("usb: musb: core: add pm_runtime_irq_safe()")

Let's fix things to use delayed work so we can remove the
pm_runtime_irq_safe.

Note that we may want to set this up in a generic way in the
gadget framework eventually.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_core.h
drivers/usb/musb/musb_gadget.c