Commit abe7a409 authored by Andrzej Pietrasiewicz's avatar Andrzej Pietrasiewicz Committed by Felipe Balbi
Browse files

usb: gadget: zero: put function instances on unbind

If function instances are not put on gadget's unbind, their implementation
module's refcount is nonzero and it is impossible to unload them.
Signed-off-by: default avatarAndrzej Pietrasiewicz <>
Signed-off-by: default avatarKyungmin Park <>
Signed-off-by: default avatarFelipe Balbi <>
parent 9890e330
......@@ -368,8 +368,10 @@ static int zero_unbind(struct usb_composite_dev *cdev)
if (!IS_ERR_OR_NULL(func_ss))
if (!IS_ERR_OR_NULL(func_lb))
return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment