Commit 693769a
committed
[nrf fromlist] drivers: udc_dwc2: Workaround hibernation exit glitch
DWC2 otg versions earlier than 5.00a are subject to randomly occurring
glitch on Hibernation Exit by Host Initiated Resume, Hibernation Exit by
Device Inititated Resume and Hibernation Exit by Host Initiated Reset.
When the glitch happens the device address is not correctly restored.
If the address is not correctly restored then the tokens addressed to
the device will timeout leading to host resetting the bus.
Upstream PR #: 85039
Signed-off-by: Tomasz Moń <[email protected]>1 parent f25809c commit 693769a
2 files changed
+25
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
341 | 344 | | |
342 | 345 | | |
343 | 346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
945 | 947 | | |
946 | 948 | | |
947 | 949 | | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
948 | 965 | | |
949 | 966 | | |
950 | 967 | | |
| |||
1081 | 1098 | | |
1082 | 1099 | | |
1083 | 1100 | | |
1084 | | - | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | 1101 | | |
1093 | 1102 | | |
1094 | 1103 | | |
| |||
1757 | 1766 | | |
1758 | 1767 | | |
1759 | 1768 | | |
| 1769 | + | |
1760 | 1770 | | |
1761 | 1771 | | |
1762 | 1772 | | |
| |||
1772 | 1782 | | |
1773 | 1783 | | |
1774 | 1784 | | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
1775 | 1789 | | |
1776 | 1790 | | |
1777 | 1791 | | |
| |||
0 commit comments