UPSTREAM: usb: dwc3: Endianness issue on dwc3_log_ctrl
authorJohn Youn <johnyoun@synopsys.com>
Mon, 23 May 2016 18:32:47 +0000 (11:32 -0700)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 16 Aug 2016 12:48:19 +0000 (20:48 +0800)
commit21041f185015418f7a34d7789fe7850a3c4ff8f6
tree4fe174710e75a990f422cf111f49b5a63d644ce3
parentb2c9f6b5dbf09e2200e586b4133b57d1d354c341
UPSTREAM: 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.

Change-Id: I9682aa96ba8e1115c02f5df54d51fccdcb0ed4e1
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
(cherry picked from commit 96bedb637a1e1ad8e7ed781fa020550aae2a8f16)
drivers/usb/dwc3/trace.h