mbox series

[v1,0/2] usb: gadget: udc: core: fix hang during configuration

Message ID 20230512131435.205464-1-francesco@dolcini.it (mailing list archive)
Headers show
Series usb: gadget: udc: core: fix hang during configuration | expand

Message

Francesco Dolcini May 12, 2023, 1:14 p.m. UTC
From: Francesco Dolcini <francesco.dolcini@toradex.com>

These revert 2 patches that cause a regression introduced in v6.4-rc1 and that
were back-ported to stable/LTS kernels.

The regression is that the USB gadget configuration hangs forever.

Link: https://lore.kernel.org/all/ZF4BvgsOyoKxdPFF@francesco-nb.int.toradex.com/

Francesco Dolcini (2):
  Revert "usb: gadget: udc: core: Prevent redundant calls to pullup"
  Revert "usb: gadget: udc: core: Invoke usb_gadget_connect only when
    started"

 drivers/usb/gadget/udc/core.c | 151 ++++++++++------------------------
 1 file changed, 44 insertions(+), 107 deletions(-)