Commit 8f3f69c9 authored by Johan Hovold's avatar Johan Hovold Committed by Treehugger Robot
Browse files

FROMGIT: USB: dwc3: gadget: drop dead hibernation code



The hibernation code is broken and has never been enabled in mainline
and should thus be dropped.

Remove the hibernation bits from the gadget code, which effectively
reverts commits e1dadd3b ("usb: dwc3: workaround: bogus hibernation
events") and 7b2a0368 ("usb: dwc3: gadget: set KEEP_CONNECT in case
of hibernation") except for the spurious interrupt warning.

Acked-by: default avatarThinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20230404072524.19014-5-johan+linaro@kernel.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 277690231
Change-Id: I893cefd276fd3be5e254c8aa82611eba2fc53396
(cherry picked from commit bdb19d01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git

 usb-next)
Signed-off-by: default avatarWesley Cheng <quic_wcheng@quicinc.com>
parent 5dd4405f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment