UPSTREAM: usb: dwc3: trace: show request flags
authorFelipe Balbi <balbi@ti.com>
Thu, 3 Dec 2015 21:27:32 +0000 (15:27 -0600)
committerWu Liang feng <wulf@rock-chips.com>
Sun, 6 Mar 2016 13:33:25 +0000 (21:33 +0800)
commit233835c23f9ec4e2ddeb6f85aaa84b087622cf22
tree4ad6db43de74425d438eadade0eb9bebdf32ab40
parentf8d926f487780d654c3ec05bf0fddf3daf252da4
UPSTREAM: usb: dwc3: trace: show request flags

struct usb_request have 3 flags which might be
important to know about during debug. This patch
shows each of the 3 flags as a single letter:

z -> for zero
s -> short not okay
i -> interrupt

A capital letter means the feature is enabled
while a lower case letter means it is disabled;

Thus 'zsI' indicates that a ZLP is not needed,
that we can accept a short packet and interrupt
for this request should be enabled.

Signed-off-by: Felipe Balbi <balbi@ti.com>
(cherry picked from commit 46a01427e969e53d993b988ebbdb8c7c3562b66f)

Change-Id: I5d60411c51eff9f5a5f1233680bca6369f6fc6b8
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
drivers/usb/dwc3/trace.h