diff options
Diffstat (limited to 'drivers/usb/gadget/file_storage.c')
-rw-r--r-- | drivers/usb/gadget/file_storage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/file_storage.c b/drivers/usb/gadget/file_storage.c index 93933155e81..b10fa31cc91 100644 --- a/drivers/usb/gadget/file_storage.c +++ b/drivers/usb/gadget/file_storage.c | |||
@@ -4182,6 +4182,7 @@ out: | |||
4182 | fsg->state = FSG_STATE_TERMINATED; // The thread is dead | 4182 | fsg->state = FSG_STATE_TERMINATED; // The thread is dead |
4183 | fsg_unbind(gadget); | 4183 | fsg_unbind(gadget); |
4184 | close_all_backing_files(fsg); | 4184 | close_all_backing_files(fsg); |
4185 | complete(&fsg->thread_notifier); | ||
4185 | return rc; | 4186 | return rc; |
4186 | } | 4187 | } |
4187 | 4188 | ||