summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/io.h
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-09-02 20:19:43 (GMT)
committerFelipe Balbi <balbi@ti.com>2015-03-09 15:38:49 (GMT)
commit3da1f6ee3563f84395e5d334349a4c9e25d8cbcb (patch)
tree89ef8a842fa29e508a695dd422b8a9ca855b1ce2 /drivers/usb/dwc3/io.h
parent31a0ede0de49a5897d7d97c68228ae79f86c38f0 (diff)
downloadlinux-3da1f6ee3563f84395e5d334349a4c9e25d8cbcb.tar.xz
usb: dwc3: core: only reset res->start in case of error
That trick is only needed if we end up with an error, so there's no point in messing that outside of an error path. In fact doing so causes problems when removing dwc3.ko, problems which commit c5a1fbc (usb: dwc3: dwc3-omap: Fix the crash on module removal) mistakenly tried to fix. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/io.h')
0 files changed, 0 insertions, 0 deletions