diff options
| author | Dov Levenglick <dovl@codeaurora.org> | 2014-05-04 11:34:45 +0300 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:06:28 -0700 |
| commit | 94e3cbb5f253c363b298f1410b0d926043296c38 (patch) | |
| tree | 39162585ba949988c43452c4896684dba198cdb9 /include/linux/debugobjects.h | |
| parent | abeac45ef6d53812f2a6732e7bf80d1807dd85d0 (diff) | |
usb: dwc3: gadget: ignore suspend interrupt before connect
The controller sees a suspend event prior to the the cable connect
or reset events. As a result, it runs through an unnecessary
suspend sequence. Adding a check on the gadget's state avoids
the overhead.
The root cause of this appears to be a situation where the
controller senses/is told that there is a VBUS, but the port
reset is not forthcoming. In such a case, the line state is
interpreted as suspend, and the event is generated.
When VBUS detach is sensed/indicated, the state is returned to
USB_STATE_NOTATTACHED, in preparation for the next cable connect.
Change-Id: I639454ceb0ad3a8ff2c02d527c553a934b8639fc
Signed-off-by: Dov Levenglick <dovl@codeaurora.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
