usb: dwc3: ep0: Fix endianness of wIndex passed to dwc3_wIndex_to_dep
authorJohn Youn <johnyoun@synopsys.com>
Mon, 23 May 2016 18:32:38 +0000 (11:32 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:32:42 +0000 (12:32 +0300)
commit958b9fa7f8cfd5799534e98ba3d05d96a5e7ccb9
treeaf814b5cc4822a7afdfab00c5bc8e7e9ced00996
parent71f7e7027028d5a8ef15dccc587dbd6c6b7f544f
usb: dwc3: ep0: Fix endianness of wIndex passed to dwc3_wIndex_to_dep

The wIndex passed in here is CPU endianness, but the function expects
little endian.

Found with sparse.

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