summaryrefslogtreecommitdiff
path: root/net/8021q/vlan_dev.c
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2011-07-20 17:09:34 -0700
committerNicolas Pitre <nicolas.pitre@linaro.org>2011-08-17 11:51:47 -0400
commit939764da3b3caf6a4499c41018af98b013e0942f (patch)
tree25a6c3249cb9520551a8480773dad81b1d109a8e /net/8021q/vlan_dev.c
parent2b44a26de7f11e8070c5702343cc0faf53e04514 (diff)
usb: musb: fix oops on musb_gadget_pullup
an 'unhandled fault' is causes when a gadget driver calls usb_gadget_connect() while the USB cable isn't plugged into the OTG port. the fault is caused by an access to MUSB's memory space while its clock is turned off due to pm_runtime kicking in. in order to fix the fault, we enclose musb_gadget_pullup() with pm_runtime_get_sync() ... pm_runtime_put() calls to be sure we will always reach that path with clock turned on. [ balbi@ti.com : simplified commit log; removed few things which didn't belong there ] Cc: stable@kernel.org Reported-by: Zach Pfeffer <zach.pfeffer@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Felipe Balbi <balbi@ti.com> (cherry picked from commit 72c487dfb94d02025fb7437dfe2314d836d5a9ab)
Diffstat (limited to 'net/8021q/vlan_dev.c')
0 files changed, 0 insertions, 0 deletions