media: vim2m: Fix RGB 565 BE/LE support
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 28 Mar 2019 19:02:23 +0000 (15:02 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 29 Mar 2019 13:46:15 +0000 (09:46 -0400)
commit060162c1af5cd807384247cc95a0d5cb016e316a
tree6510e24e17a7f0a6b682f996c551183a04e47828
parentb4a7113f84128ed0acbc5ff886bd5cf4d87ab733
media: vim2m: Fix RGB 565 BE/LE support

The support for those two formats are archtecture-dependent.
Use the endianness to CPU macros to do it right.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vim2m.c