Commit f79d247
USB: dwc3: gadget: drop dead hibernation code
BugLink: https://bugs.launchpad.net/bugs/2028580
[ Upstream commit bdb19d0 ]
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 e1dadd3 ("usb: dwc3: workaround: bogus hibernation
events") and 7b2a036 ("usb: dwc3: gadget: set KEEP_CONNECT in case
of hibernation") except for the spurious interrupt warning.
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20230404072524.19014-5-johan+linaro@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: 39674be ("usb: dwc3: gadget: Execute gadget stop after halting the controller")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>1 parent 4bc497a commit f79d247
1 file changed
Lines changed: 6 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2478 | 2478 | | |
2479 | 2479 | | |
2480 | 2480 | | |
2481 | | - | |
| 2481 | + | |
2482 | 2482 | | |
2483 | 2483 | | |
2484 | 2484 | | |
| |||
2497 | 2497 | | |
2498 | 2498 | | |
2499 | 2499 | | |
2500 | | - | |
2501 | | - | |
2502 | | - | |
2503 | 2500 | | |
2504 | 2501 | | |
2505 | 2502 | | |
2506 | 2503 | | |
2507 | 2504 | | |
2508 | | - | |
2509 | | - | |
2510 | | - | |
2511 | 2505 | | |
2512 | 2506 | | |
2513 | 2507 | | |
| |||
2589 | 2583 | | |
2590 | 2584 | | |
2591 | 2585 | | |
2592 | | - | |
| 2586 | + | |
2593 | 2587 | | |
2594 | 2588 | | |
2595 | 2589 | | |
| |||
2643 | 2637 | | |
2644 | 2638 | | |
2645 | 2639 | | |
2646 | | - | |
| 2640 | + | |
2647 | 2641 | | |
2648 | 2642 | | |
2649 | 2643 | | |
| |||
4210 | 4204 | | |
4211 | 4205 | | |
4212 | 4206 | | |
4213 | | - | |
4214 | | - | |
4215 | | - | |
4216 | | - | |
4217 | | - | |
4218 | | - | |
4219 | | - | |
4220 | | - | |
4221 | | - | |
4222 | | - | |
4223 | | - | |
4224 | | - | |
4225 | | - | |
4226 | | - | |
4227 | | - | |
4228 | | - | |
4229 | | - | |
4230 | | - | |
4231 | | - | |
4232 | | - | |
4233 | | - | |
4234 | | - | |
4235 | | - | |
4236 | | - | |
4237 | 4207 | | |
4238 | 4208 | | |
4239 | 4209 | | |
| |||
4251 | 4221 | | |
4252 | 4222 | | |
4253 | 4223 | | |
4254 | | - | |
4255 | | - | |
4256 | | - | |
4257 | | - | |
4258 | | - | |
| 4224 | + | |
4259 | 4225 | | |
4260 | 4226 | | |
4261 | 4227 | | |
| |||
4592 | 4558 | | |
4593 | 4559 | | |
4594 | 4560 | | |
4595 | | - | |
| 4561 | + | |
4596 | 4562 | | |
4597 | 4563 | | |
4598 | 4564 | | |
| |||
4613 | 4579 | | |
4614 | 4580 | | |
4615 | 4581 | | |
4616 | | - | |
| 4582 | + | |
4617 | 4583 | | |
4618 | 4584 | | |
4619 | 4585 | | |
| |||
0 commit comments