|
@@ -368,8 +368,10 @@ static int zero_unbind(struct usb_composite_dev *cdev)
|
|
del_timer_sync(&autoresume_timer);
|
|
del_timer_sync(&autoresume_timer);
|
|
if (!IS_ERR_OR_NULL(func_ss))
|
|
if (!IS_ERR_OR_NULL(func_ss))
|
|
usb_put_function(func_ss);
|
|
usb_put_function(func_ss);
|
|
|
|
+ usb_put_function_instance(func_inst_ss);
|
|
if (!IS_ERR_OR_NULL(func_lb))
|
|
if (!IS_ERR_OR_NULL(func_lb))
|
|
usb_put_function(func_lb);
|
|
usb_put_function(func_lb);
|
|
|
|
+ usb_put_function_instance(func_inst_lb);
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|