]> git.baikalelectronics.ru Git - kernel.git/commit
[media] soc-camera: fix typos in the default format-conversion table
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 8 Mar 2013 11:08:56 +0000 (08:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Apr 2013 23:15:43 +0000 (20:15 -0300)
commitdc4c32a2a33d2a1c51b2f809c470ba6ef9643de2
treedf21802b9c9c2ae1c010796b7a333be01acd429d
parent2358c1a1a908e618df99fc426ea86723b80539c4
[media] soc-camera: fix typos in the default format-conversion table

The default format conversion table mbus_fmt[] in soc_mediabus.c lists
"natural" conversions between media-bus and fourcc pixel formats, that are
achieved by storing data from the bus in RAM exactly as it arrives, only
possibly padding missing high or low bits. Such data acquisition mode
cannot change data endianness, therefore two locations with opposite
endianness are erroneous. This change might affest the omap1-camera driver,
existing configurations should be verified.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera/soc_mediabus.c