OSDN Git Service

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)
commit2989a457171d2b1d457bd378450fe3909eb02623
tree6f2808e93835694ac55c94ae3abba57c0caf14e2
parente40f1bcbeea6482bae1e077bb57a21ef5db2b499
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