Commit c67b0e42 authored by Heiko Schocher's avatar Heiko Schocher Committed by Marek Vasut
Browse files

usb, composite: after unregister gadget driver set composite to NULL

Without this, second usb_composite_register() call fails always
with -EINVAL.
Signed-off-by: default avatarHeiko Schocher <>
Cc: Lukasz Majewski <>
Cc: Kyungmin Park <>
Cc: Marek Vasut <>
parent d3e07478
......@@ -1098,4 +1098,5 @@ void usb_composite_unregister(struct usb_composite_driver *driver)
if (composite != driver)
composite = NULL;
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