OSDN Git Service

usb: dwc3: Add error print messages
authorMayank Rana <mrana@codeaurora.org>
Tue, 8 Jul 2014 00:07:16 +0000 (17:07 -0700)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:06:37 +0000 (11:06 -0700)
commitdef08da7f54f275181e7b4f86acdc39ab31cdd42
tree18521ae102d2e8664455fb4541560ec10295f9f8
parentf0487e67e5e62f1b4b6a2061896a62742a19d54b
usb: dwc3: Add error print messages

There is a possible race that arises when gadget events are processed
before the resume routine has disabled the USB2 PHY autosuspend. Some
of the gadget events issue endpoint commands which may time out since
the PHY is still autosuspended. Add error messages to help debug
these failurs.

Signed-off-by: Mayank Rana <mrana@codeaurora.org>
drivers/usb/dwc3/gadget.c