]> git.baikalelectronics.ru Git - kernel.git/commit
media: ccs: Refactor register reading a little
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 2 Sep 2020 10:09:03 +0000 (12:09 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Dec 2020 11:27:31 +0000 (12:27 +0100)
commit7f8e8655de97b84c0e802c6edb6941db23444488
tree6f2808e93835694ac55c94ae3abba57c0caf14e2
parent756698b90b2fde59b6246d1d67dfd104eedf9521
media: ccs: Refactor register reading a little

Rework quirk and 8-bit only access functions with a single function that
takes arguments. This is later extensible to support yet more flags.

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