diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-09-16 17:26:47 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-09-16 09:59:47 -0500 |
commit | e102609f107269fbc04af21548e78e99c02b6204 (patch) | |
tree | 1125404e62ac8efb7a4aea546ecbf70553808f17 /drivers/hid/hid-elo.c | |
parent | 4a6698b80cfe36dd4e3c6bc30ab81b4e0a837f64 (diff) | |
download | blackbird-op-linux-e102609f107269fbc04af21548e78e99c02b6204.tar.gz blackbird-op-linux-e102609f107269fbc04af21548e78e99c02b6204.zip |
usb: gadget: uvc: Fix endianness mismatches
The struct usb_endpoint_descriptor wMaxPacketSize field the struct
usb_ss_ep_comp_descriptor wBytesPerInterval field are stored in
little-endian format. Convert the values from CPU order to little endian
before storing the values.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/hid/hid-elo.c')
0 files changed, 0 insertions, 0 deletions