Searched hist:c41b33c58d11f32e95d06f634ddba0cbf39fc7c6 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | g_ffs.c | diff c41b33c58d11f32e95d06f634ddba0cbf39fc7c6 Fri May 22 10:25:17 CDT 2015 Krzysztof Opasiak <k.opasiak@samsung.com> 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>
|