projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b6c8a
)
usb: gadget: FunctionFS: clear FFS_FL_BOUND flag on unbind (bugfix)
author
Andrzej Pietrasiewicz
<andrzej.p@samsung.com>
Mon, 12 Mar 2012 11:55:41 +0000
(12:55 +0100)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 10 Apr 2012 16:11:47 +0000
(19:11 +0300)
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>
drivers/usb/gadget/f_fs.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/f_fs.c
b/drivers/usb/gadget/f_fs.c
index 1cbba70836bcd7c1516c21253b3a54dd24a5849a..d187ae73262b30486751d6fdb58bf2c236f0552f 100644
(file)
--- 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);
}
}