OSDN Git Service

usb: dwc3: Fix GDBGFIFOSPACE_TYPE values
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Fri, 2 Feb 2018 21:21:35 +0000 (13:21 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 08:18:01 +0000 (09:18 +0100)
commitecb1886f9b4fea6408f4d9c6defcc7ba3db88c29
treedae46c43ced419f6d1a4758453cb981b1cf7eeff
parent30fe81cca111c22bc6048ef8998691c8e51b0d7a
usb: dwc3: Fix GDBGFIFOSPACE_TYPE values

commit b16ea8b9492e99e03b1269fe93ebdbf8e4eabf8a upstream.

The FIFO/Queue type values are incorrect. Correct them according to
DWC_usb3 programming guide section 1.2.27 (or DWC_usb31 section 1.2.25).

Additionally, this patch includes ProtocolStatusQ and AuxEventQ types.

Fixes: cf6d867d3b57 ("usb: dwc3: core: add fifo space helper")
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/core.h