media: smiapp: Use unaligned get and put functions
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 3 Feb 2020 11:36:55 +0000 (08:36 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 27 Feb 2020 20:47:28 +0000 (17:47 -0300)
commit2db8166f739e75c1269d7e8afe8da68e70098810
treedb686592474cc15b845e3fb9e01e75515113a7d6
parent8d563ecafecb42c7e4facb63b22fcc6992bb250f
media: smiapp: Use unaligned get and put functions

Use get_unaligned_be* and put_unaligned_be* functions to convert register
values to CPU endianness. Consequently, two instances of BUG() are
removed.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/smiapp/smiapp-regs.c