diff options
| author | Alan Stern <[email protected]> | 2015-01-16 16:32:51 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2015-08-03 14:54:18 +0000 |
| commit | c93e64e91248becd0edb8f01723dff9da890e2ab (patch) | |
| tree | 9a1cf171d28a42d5fd4c2dd1e311d01e8c8998cf /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | usb: gadget: f_printer: actually limit the number of instances (diff) | |
| download | kernel-c93e64e91248becd0edb8f01723dff9da890e2ab.tar.gz kernel-c93e64e91248becd0edb8f01723dff9da890e2ab.zip | |
usb: udc: core: add device_del() call to error pathway
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().
CC: <[email protected]>
Acked-by: Peter Chen <[email protected]>
Signed-off-by: Alan Stern <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
