diff options
author | Johan Hovold <johan@kernel.org> | 2018-05-31 16:45:52 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-06-18 11:41:00 +0200 |
commit | 896e518883f18e601335908192e33426c1f599a4 (patch) | |
tree | 0952cd38a8133342455738b47363273af1f20fda /drivers/usb/c67x00 | |
parent | usb: dwc2: gadget: Fix issue in dwc2_gadget_start_isoc() (diff) | |
download | linux-896e518883f18e601335908192e33426c1f599a4.tar.xz linux-896e518883f18e601335908192e33426c1f599a4.zip |
usb: dwc3: of-simple: fix use-after-free on remove
The clocks have already been explicitly disabled and put as part of
remove() so the runtime suspend callback must not be run when balancing
the runtime PM usage count before returning.
Fixes: 16adc674d0d6 ("usb: dwc3: add generic OF glue layer")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions