Commit f22e9b67 authored by Francesco Dolcini's avatar Francesco Dolcini Committed by Greg Kroah-Hartman

Revert "usb: gadget: udc: core: Invoke usb_gadget_connect only when started"

This reverts commit 0db213ea.

It introduces an issues with configuring the USB gadget hangs forever
on multiple Qualcomm and NXP i.MX SoC at least.

Cc: stable@vger.kernel.org
Fixes: 0db213ea ("usb: gadget: udc: core: Invoke usb_gadget_connect only when started")
Reported-by: default avatarStephan Gerhold <stephan@gerhold.net>
Reported-by: default avatarFrancesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/all/ZF4BvgsOyoKxdPFF@francesco-nb.int.toradex.com/Signed-off-by: default avatarFrancesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/r/20230512131435.205464-3-francesco@dolcini.itSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5e161721
This diff is collapsed.
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