commit | 17a1dc5e22d25ba374d8c8dd8d5bf10bd20d3265 | [log] [tgz] |
---|---|---|
author | Peter Chen <peter.chen@nxp.com> | Mon Jul 11 09:58:16 2016 +0800 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Thu Aug 11 15:09:47 2016 +0300 |
tree | 05105553c37dd97d572545d3db3e2f0b8ed96565 | |
parent | 7442e6db5bdd0dce4615205508301f9b22e502d6 [diff] |
usb: udc: core: fix error handling The udc device needs to be deleted if error occurs Fixes: 855ed04a3758 ("usb: gadget: udc-core: independent registration of gadgets and gadget drivers") Signed-off-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>