aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/gadget.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-09-08 14:18:47 -0400
committerFelipe Balbi <balbi@ti.com>2011-09-09 06:05:31 -0400
commit019ac83252dc2b356cb0ca81c25a077ec90309e7 (patch)
treef8abaca0d8fdcf183fa631ceb16437772ba45330 /drivers/usb/dwc3/gadget.c
parent4b5faa7aca64099d116db93d791b7a1f5c556c4a (diff)
usb: dwc3: gadget: improve debug on link state change
It's useful to know which states core is going through, as it might help us figure out misbehavior on specific link states. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/gadget.c')
-rw-r--r--drivers/usb/dwc3/gadget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 2ea2fc86390..859257a3d63 100644
--- a/drivers/usb/dwc3/gadget.c
+++ b/drivers/usb/dwc3/gadget.c
@@ -1792,10 +1792,10 @@ static void dwc3_gadget_wakeup_interrupt(struct dwc3 *dwc)
1792static void dwc3_gadget_linksts_change_interrupt(struct dwc3 *dwc, 1792static void dwc3_gadget_linksts_change_interrupt(struct dwc3 *dwc,
1793 unsigned int evtinfo) 1793 unsigned int evtinfo)
1794{ 1794{
1795 dev_vdbg(dwc->dev, "%s\n", __func__);
1796
1797 /* The fith bit says SuperSpeed yes or no. */ 1795 /* The fith bit says SuperSpeed yes or no. */
1798 dwc->link_state = evtinfo & DWC3_LINK_STATE_MASK; 1796 dwc->link_state = evtinfo & DWC3_LINK_STATE_MASK;
1797
1798 dev_vdbg(dwc->dev, "%s link %d\n", __func__, dwc->link_state);
1799} 1799}
1800 1800
1801static void dwc3_gadget_interrupt(struct dwc3 *dwc, 1801static void dwc3_gadget_interrupt(struct dwc3 *dwc,