From: Laurent Pinchart Date: Tue, 16 Sep 2014 14:26:47 +0000 (+0300) Subject: usb: gadget: uvc: Fix endianness mismatches X-Git-Tag: fixes-for-v3.18-merge-window~16^2~118^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e102609f107269fbc04af21548e78e99c02b6204;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed