diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2014-10-20 12:45:32 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-10-28 10:40:58 -0500 |
commit | 9599815de61db104ad21bc61f5e3544d2415c6ee (patch) | |
tree | ca084ab2af9fb48bc1c3bb228647b26e5a8f2fff /drivers/usb | |
parent | 9b1763553a89b2a84881119eeabfccdb803bb468 (diff) | |
download | linux-9599815de61db104ad21bc61f5e3544d2415c6ee.tar.gz linux-9599815de61db104ad21bc61f5e3544d2415c6ee.tar.bz2 linux-9599815de61db104ad21bc61f5e3544d2415c6ee.zip |
usb: dwc2: gadget: fix enumeration issues
Excessive debug messages might cause timing issues that prevent correct
usb enumeration. This patch hides information about USB bus reset to let
driver enumerate fast enough to avoid making host angry. This fixes
endless enumeration and usb reset loop observed with some Linux hosts.
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/dwc2/gadget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index eee87098bb8b..8b5c079c7b7d 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c @@ -2327,7 +2327,7 @@ irq_retry: u32 usb_status = readl(hsotg->regs + GOTGCTL); - dev_info(hsotg->dev, "%s: USBRst\n", __func__); + dev_dbg(hsotg->dev, "%s: USBRst\n", __func__); dev_dbg(hsotg->dev, "GNPTXSTS=%08x\n", readl(hsotg->regs + GNPTXSTS)); |