summaryrefslogtreecommitdiff
path: root/drivers/hwmon/w83627hf.c
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2015-05-22 17:25:17 +0200
committerFelipe Balbi <balbi@ti.com>2015-05-26 10:15:08 -0500
commitc41b33c58d11f32e95d06f634ddba0cbf39fc7c6 (patch)
treea98ee8a2d4b2363665cd16648adcb016271a9998 /drivers/hwmon/w83627hf.c
parent10f095801cda5cdf24839e2fe90c08cb85a28da6 (diff)
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>
Diffstat (limited to 'drivers/hwmon/w83627hf.c')
0 files changed, 0 insertions, 0 deletions