]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: Increase DWC3 controller halt timeout
authorWesley Cheng <quic_wcheng@quicinc.com>
Thu, 1 Sep 2022 19:36:23 +0000 (12:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Sep 2022 14:26:45 +0000 (16:26 +0200)
commitc16b9e103f92ac001bb20f1b30bd6358e846af1b
tree621f1eb650c5eff3749ec3be1c69819c75f590e3
parent4577dd707b1bb494595a4a02d84d07429dcd4a77
usb: dwc3: Increase DWC3 controller halt timeout

Since EP0 transactions need to be completed before the controller halt
sequence is finished, this may take some time depending on the host and the
enabled functions.  Increase the controller halt timeout, so that we give
the controller sufficient time to handle EP0 transfers.

Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Link: https://lore.kernel.org/r/20220901193625.8727-4-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/gadget.c