diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-09-26 13:23:34 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-10-31 11:17:34 +0200 |
commit | 43c96be1c46eb6ce292643f659221c7fca90bb84 (patch) | |
tree | e409c7b42b6060c55a8ee5f4c60a17d6101e6e1d /drivers/usb/dwc3/gadget.c | |
parent | cdd72ac20b4a769ad2aaf98223f853c719c5eda7 (diff) | |
download | lwn-43c96be1c46eb6ce292643f659221c7fca90bb84.tar.gz lwn-43c96be1c46eb6ce292643f659221c7fca90bb84.zip |
usb: dwc3: trace: print out ep0state also from XferComplete
With this extra piece of information, it will be
easier to find mismatches between driver and HW.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/gadget.c')
-rw-r--r-- | drivers/usb/dwc3/gadget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index fb5d65a58ef8..4d191c8acb59 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -2728,7 +2728,7 @@ static void dwc3_gadget_interrupt(struct dwc3 *dwc, static void dwc3_process_event_entry(struct dwc3 *dwc, const union dwc3_event *event) { - trace_dwc3_event(event->raw); + trace_dwc3_event(event->raw, dwc); /* Endpoint IRQ, handle it and return early */ if (event->type.is_devspec == 0) { |