OSDN Git Service

media: ccs: Read ireal numbers correctly
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 24 Jun 2020 13:39:05 +0000 (15:39 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Dec 2020 11:27:31 +0000 (12:27 +0100)
commitfe652254e243a58daf50aa0ddb938885ae2ba565
treed86582b4f11dcbcd5ae15cea3a2d890fb1f32dd8
parent5017f8b4e0ed9ec39c04ac85de6ce49603f5f02b
media: ccs: Read ireal numbers correctly

Some limit values are available in q16.q16 format, referred to as 32-bit
unsigned ireal in CCS. Read these correctly.

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-core.c
drivers/media/i2c/ccs/ccs-reg-access.c
drivers/media/i2c/ccs/ccs.h