UPSTREAM: usb: dwc3: core: add helper to extract trb type
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 14 Apr 2016 13:05:54 +0000 (16:05 +0300)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 16 Aug 2016 12:48:19 +0000 (20:48 +0800)
commit18d034134d52dca18fe0afb90df66b2adc4e6be1
treef448d83f28057ffe78d58c04f84dec07416d3a31
parent7b81ec6961fa9d6891e36ca3d967768093975d78
UPSTREAM: usb: dwc3: core: add helper to extract trb type

This helper will be used later to convert trb type
into a human-readable string for debugfs.

Change-Id: I00ef9c5270465765bf0e03209172359f32368527
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
(cherry picked from commit b058f3e8a3991ba3ea3504fea1faf81974cf17fa)
drivers/usb/dwc3/core.h