usb: dwc3: Endianness issue on dwc3_log_ctrl
authorJohn Youn <johnyoun@synopsys.com>
Mon, 23 May 2016 18:32:47 +0000 (11:32 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:32:43 +0000 (12:32 +0300)
commit96bedb637a1e1ad8e7ed781fa020550aae2a8f16
treec8399c4469d711316e5fefe3954ab5a3062c5fec
parentd07fa665c79d85fead080f4b611c3f7645576454
usb: dwc3: Endianness issue on dwc3_log_ctrl

Sparse complains even though it looks ok. Probably it cannot detect that
the wValue, wIndex, and wLength are declared __le16 due to the macro
magic.

Redeclare them as CPU endianness and make the conversion on assignment.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/trace.h