OSDN Git Service

media: ccs: Move limit value real to integer conversion from read to access time
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 2 Sep 2020 10:46:59 +0000 (12:46 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Dec 2020 11:27:31 +0000 (12:27 +0100)
commit5017f8b4e0ed9ec39c04ac85de6ce49603f5f02b
treefd7360088c68e98ca55719e54f0eab1b813dfd3f
parent7d2f8ddaac2c1d938302022d40b057b5f31c4e9d
media: ccs: Move limit value real to integer conversion from read to access time

Instead of converting the limit values at register read time, do that at
access time instead.

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