diff options
| author | Marek Szyprowski <[email protected]> | 2016-02-18 08:59:26 +0100 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2016-02-23 08:51:37 +0200 |
| commit | 7b0a271d5cadf5fbb5a9c7cb868776af2a2c248c (patch) | |
| tree | 1fb5ea768329098b575f077ff0b450a3e87fb5c0 /drivers/clocksource/qcom-timer.c | |
| parent | 31b994a4986dcdd664c597afcef2c0918763019a (diff) | |
usb: gadget: gadgetfs: unregister gadget only if it got successfully registered
Gadgetfs driver called usb_gadget_unregister_driver unconditionally, even
if it didn't register it earlier due to other failures. This patch fixes
this.
Reported-by: Vegard Nossum <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
Tested-by: Vegard Nossum <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/clocksource/qcom-timer.c')
0 files changed, 0 insertions, 0 deletions