greybus: camera: Fix endian conversion issues
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 18 Dec 2015 19:23:21 +0000 (21:23 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 22 Dec 2015 00:34:46 +0000 (16:34 -0800)
commitc6622216ffaacc6286189121e63cdaae1b6bcbce
tree69f9cf2232e79d06a20aa690768e316c35af009a
parent70b3b3e77a87d40ceae6e5f4f6afedbd725fd636
greybus: camera: Fix endian conversion issues

Convert all Greybus operation fields between CPU and protocol
endianness.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reported-by: Rui Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/camera.c