summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2014-10-24 19:18:58 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:07:05 -0700
commit02ce61b3062b70e1e6e0293a50fb464d6b1c2630 (patch)
treefb68d88e5b12f5a295108ba4eb5de60eee27d63c /include/linux/debugobjects.h
parent5fb67a4aa5b51c107160c22e605d8317705efad1 (diff)
usb: dwc3: gadget: Ignore L1 RESUME events
Events may get generated for Link Power Management L1 Suspend and Resume. The suspend case currently ignores L1 and only proceeds to call the gadget driver suspend routines if it is for L2/U3 entry. However, the resume callback doesn't make this distinction, which will result in the gadget layer resume getting called for which there had not been a previous suspend. Instead of relying on reading the DWC3_DSTS register for U0 and U3 state, update dwc->link_state directly on receiving reset/wakeup and suspend/disconnect interrupts respectively. Change-Id: Ifaa71d2e85bd797154f368e7623bc8ff94b6a727 Signed-off-by: Mayank Rana <mrana@codeaurora.org> [jackp@codeaurora.org: Squashed with "usb: dwc3: gadget: Update link_state based on receiving interrupt" and "dwc3: gadget: Update link_state flag on receiving wakeup_interrupt" ] Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions