On Fri, Jan 16, 2015 at 11:32:51AM -0500, Alan Stern wrote:
> This patch fixes a bug in the error pathway of
> usb_add_gadget_udc_release() in udc-core.c. If the udc registration
> fails, the gadget registration is not fully undone; there's a
> put_device(&gadget->dev) call but no device_del().
>
This patch fixes a bug in the error pathway of
usb_add_gadget_udc_release() in udc-core.c. If the udc registration
fails, the gadget registration is not fully undone; there's a
put_device(&gadget->dev) call but no device_del().
Signed-off-by: Alan Stern
CC:
---
[as1772]
drivers/usb/gadget