Commit 0d410e8
usb: dwc3: core: Stop processing of pending events if controller is halted
This commit addresses an issue where events were being processed when
the controller was in a halted state. To fix this issue by stop
processing the events as the event count was considered stale or
invalid when the controller was halted.
Fixes: fc8bb91 ("usb: dwc3: implement runtime PM")
Cc: [email protected]
Signed-off-by: Selvarasu Ganesan <[email protected]>
Suggested-by: Thinh Nguyen <[email protected]>
Acked-by: Thinh Nguyen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 897e13a commit 0d410e8
3 files changed
+19
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
| 547 | + | |
547 | 548 | | |
548 | 549 | | |
549 | 550 | | |
| |||
556 | 557 | | |
557 | 558 | | |
558 | 559 | | |
559 | | - | |
560 | 560 | | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
561 | 564 | | |
562 | 565 | | |
563 | 566 | | |
| |||
584 | 587 | | |
585 | 588 | | |
586 | 589 | | |
587 | | - | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
588 | 594 | | |
589 | 595 | | |
590 | 596 | | |
| |||
2499 | 2505 | | |
2500 | 2506 | | |
2501 | 2507 | | |
2502 | | - | |
| 2508 | + | |
| 2509 | + | |
| 2510 | + | |
| 2511 | + | |
| 2512 | + | |
2503 | 2513 | | |
2504 | 2514 | | |
2505 | 2515 | | |
| |||
2587 | 2597 | | |
2588 | 2598 | | |
2589 | 2599 | | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
| 2605 | + | |
2590 | 2606 | | |
2591 | 2607 | | |
2592 | 2608 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1675 | 1675 | | |
1676 | 1676 | | |
1677 | 1677 | | |
1678 | | - | |
1679 | 1678 | | |
1680 | 1679 | | |
1681 | 1680 | | |
| |||
1687 | 1686 | | |
1688 | 1687 | | |
1689 | 1688 | | |
1690 | | - | |
1691 | | - | |
1692 | | - | |
1693 | 1689 | | |
1694 | 1690 | | |
1695 | 1691 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4728 | 4728 | | |
4729 | 4729 | | |
4730 | 4730 | | |
4731 | | - | |
4732 | | - | |
4733 | | - | |
4734 | | - | |
4735 | | - | |
4736 | | - | |
4737 | | - | |
4738 | | - | |
4739 | | - | |
4740 | | - | |
4741 | | - | |
0 commit comments