]> git.baikalelectronics.ru Git - kernel.git/commit
media: smiapp: Turn limit lookup into a function
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 5 Feb 2020 13:43:29 +0000 (10:43 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 27 Feb 2020 20:47:59 +0000 (17:47 -0300)
commit8375dc1876c72e23dd96eb2ea45aee97e7f258d1
tree0c710d09c1ce32b1ddaa6621168a25dd4259e998
parent3239d3eef4c52fcdee51ad54694e307bea6e3995
media: smiapp: Turn limit lookup into a function

Instead of direct array access, turn accessing limit information into a
function. Going forward, more elaborate CCS limits will replace most SMIA
limits, and conversion will be less complicated this way.

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