diff options
-rw-r--r-- | drivers/usb/gadget/f_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c index f394f295d63d..1a66c5baa0d1 100644 --- a/drivers/usb/gadget/f_fs.c +++ b/drivers/usb/gadget/f_fs.c | |||
@@ -1417,8 +1417,8 @@ static void functionfs_unbind(struct ffs_data *ffs) | |||
1417 | usb_ep_free_request(ffs->gadget->ep0, ffs->ep0req); | 1417 | usb_ep_free_request(ffs->gadget->ep0, ffs->ep0req); |
1418 | ffs->ep0req = NULL; | 1418 | ffs->ep0req = NULL; |
1419 | ffs->gadget = NULL; | 1419 | ffs->gadget = NULL; |
1420 | ffs_data_put(ffs); | ||
1421 | clear_bit(FFS_FL_BOUND, &ffs->flags); | 1420 | clear_bit(FFS_FL_BOUND, &ffs->flags); |
1421 | ffs_data_put(ffs); | ||
1422 | } | 1422 | } |
1423 | } | 1423 | } |
1424 | 1424 | ||