Skip to content

Commit

Permalink
usb: dwc3: ep0: fix debug message
Browse files Browse the repository at this point in the history
The way it was before was really meaningless.
Now it looks saner.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Felipe Balbi authored and Greg Kroah-Hartman committed Oct 4, 2011
1 parent d95b09b commit 25355be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/usb/dwc3/ep0.c
Original file line number Diff line number Diff line change
Expand Up @@ -740,8 +740,8 @@ static void dwc3_ep0_xfernotready(struct dwc3 *dwc,

if (dwc->ep0_next_event != DWC3_EP0_NRDY_DATA) {
dev_vdbg(dwc->dev, "Expected %d got %d\n",
DEPEVT_STATUS_CONTROL_DATA,
event->status);
dwc->ep0_next_event,
DWC3_EP0_NRDY_DATA);

dwc3_ep0_stall_and_restart(dwc);
return;
Expand Down Expand Up @@ -769,8 +769,8 @@ static void dwc3_ep0_xfernotready(struct dwc3 *dwc,

if (dwc->ep0_next_event != DWC3_EP0_NRDY_STATUS) {
dev_vdbg(dwc->dev, "Expected %d got %d\n",
DEPEVT_STATUS_CONTROL_STATUS,
event->status);
dwc->ep0_next_event,
DWC3_EP0_NRDY_STATUS);

dwc3_ep0_stall_and_restart(dwc);
return;
Expand Down

0 comments on commit 25355be

Please sign in to comment.