usb: dwc2: Proper cleanup on dr_mode failure
authorJohn Youn <johnyoun@synopsys.com>
Thu, 28 Apr 2016 03:20:56 +0000 (20:20 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 28 Apr 2016 06:41:34 +0000 (09:41 +0300)
commita6ef3e02542a33fb705e6977221deb0292b27398
treef989159c85c64b274e45722f4020bb182df36230
parent907a444718b8f93956acac1c944d880c54ab900d
usb: dwc2: Proper cleanup on dr_mode failure

Cleanup in probe if we fail to get dr_mode.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/platform.c