diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2012-03-12 07:55:41 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-04-10 12:11:47 -0400 |
commit | e2190a97c6d493eef1f180b9dadfd5ffd4706051 (patch) | |
tree | 48f688918c19cdf961779ff6477a3e9aae7d74b7 /drivers/usb/gadget/f_fs.c | |
parent | 64b6c8a7019acc38cc6b37f8e72c1e915593b1bb (diff) |
usb: gadget: FunctionFS: clear FFS_FL_BOUND flag on unbind (bugfix)
clear FFS_FL_BOUND flag on unbind (bugfix)
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/f_fs.c')
-rw-r--r-- | drivers/usb/gadget/f_fs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c index 1cbba70836b..d187ae73262 100644 --- a/drivers/usb/gadget/f_fs.c +++ b/drivers/usb/gadget/f_fs.c | |||
@@ -1382,6 +1382,7 @@ static void functionfs_unbind(struct ffs_data *ffs) | |||
1382 | ffs->ep0req = NULL; | 1382 | ffs->ep0req = NULL; |
1383 | ffs->gadget = NULL; | 1383 | ffs->gadget = NULL; |
1384 | ffs_data_put(ffs); | 1384 | ffs_data_put(ffs); |
1385 | clear_bit(FFS_FL_BOUND, &ffs->flags); | ||
1385 | } | 1386 | } |
1386 | } | 1387 | } |
1387 | 1388 | ||