Skip to content
Commit fa652734 authored by Ben Kao's avatar Ben Kao Committed by Mauro Carvalho Chehab
Browse files

media: ov8856: Modify ov8856 register reading function to be simplified



We use put_unaligned_be16() to be simplified for setting register address
in ov8856_read_reg() and use sizeof() to be better suited for bytes
copying.

Signed-off-by: default avatarBen Kao <ben.kao@intel.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 030f9f68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment