linux/drivers/usb/gadget/legacy
Krzysztof Opasiak c41b33c58d usb: gadget: g_ffs: Fix counting of missing_functions
Returning non-zero value from ready callback makes ffs instance
return error from writing strings and enter FFS_CLOSING state.
This means that this this function is not truly ready and
close callback will not be called. This commit fix
ffs_ready_callback() to undo all side effects of this function
in case of error.

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-05-26 10:15:08 -05:00
..
acm_ms.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
audio.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
cdc2.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
dbgp.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
ether.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
g_ffs.c usb: gadget: g_ffs: Fix counting of missing_functions 2015-05-26 10:15:08 -05:00
gmidi.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
hid.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
inode.c VFS: assorted weird filesystems: d_inode() annotations 2015-04-15 15:06:58 -04:00
Kconfig usb: gadget: printer: convert to new interface of f_printer 2015-03-10 15:33:40 -05:00
Makefile usb: gadget: webcam: convert webcam to new interface of f_uvc 2014-09-09 09:49:31 -05:00
mass_storage.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
multi.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
ncm.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
nokia.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
printer.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
serial.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
tcm_usb_gadget.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
tcm_usb_gadget.h
webcam.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
zero.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00