usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.
authorArtur Petrosyan <Arthur.Petrosyan@synopsys.com>
Fri, 26 Mar 2021 10:24:46 +0000 (14:24 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Apr 2021 12:47:44 +0000 (14:47 +0200)
commit85e1752ae0edec6b742d6d9545c0d5355d69011e
tree3ebeb5c4a25893ec8cb69c4f7ef6e8492f51fa5a
parent26d2284a0580678fca80669e7676582041fc9a13
usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.

commit 5e3bbae8ee3d677a0aa2919dc62b5c60ea01ba61 upstream.

Increased the waiting timeout for HPRT0.PrtSusp register field
to be set, because on HiKey 960 board HPRT0.PrtSusp wasn't
generated with the existing timeout.

Cc: <stable@vger.kernel.org> # 4.18
Fixes: 22bb5cfdf13a ("usb: dwc2: Fix host exit from hibernation flow.")
Signed-off-by: Artur Petrosyan <Arthur.Petrosyan@synopsys.com>
Acked-by: Minas Harutyunyan <Minas.Harutyunyan@synopsys.com>
Link: https://lore.kernel.org/r/20210326102447.8F7FEA005D@mailhost.synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/hcd.c