diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2012-03-12 11:55:41 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-04-10 16:11:47 (GMT) |
commit | e2190a97c6d493eef1f180b9dadfd5ffd4706051 (patch) | |
tree | 48f688918c19cdf961779ff6477a3e9aae7d74b7 /drivers/usb | |
parent | 64b6c8a7019acc38cc6b37f8e72c1e915593b1bb (diff) | |
download | linux-fsl-qoriq-e2190a97c6d493eef1f180b9dadfd5ffd4706051.tar.xz |
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')
-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 1cbba70..d187ae7 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) ffs->ep0req = NULL; ffs->gadget = NULL; ffs_data_put(ffs); + clear_bit(FFS_FL_BOUND, &ffs->flags); } } |