]> git.itanic.dy.fi Git - linux-stable/commit
Revert "usb: gadget: udc: core: Prevent redundant calls to pullup"
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Fri, 12 May 2023 13:14:34 +0000 (15:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 May 2023 16:32:48 +0000 (17:32 +0100)
commit7356d42ceffe4fab6f396511f4b73bcca40f6ee7
tree9460a53a25fc645d94690f290c2b526ad41aa6c3
parent08bd1be1c716fd50a7df48f82dcbc59a103082b5
Revert "usb: gadget: udc: core: Prevent redundant calls to pullup"

commit 5e1617210aede9f1b91bb9819c93097b6da481f9 upstream.

This reverts commit a3afbf5cc887fc3401f012fe629810998ed61859.

This depends on commit 0db213ea8eed ("usb: gadget: udc: core: Invoke
usb_gadget_connect only when started") that introduces a regression,
revert it till the issue is fixed.

Cc: stable@vger.kernel.org
Reported-by: Stephan Gerhold <stephan@gerhold.net>
Reported-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/all/ZF4BvgsOyoKxdPFF@francesco-nb.int.toradex.com/
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/r/20230512131435.205464-2-francesco@dolcini.it
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/core.c