media: imx274: rearrange sensor startup register tables
authorLuca Ceresoli <luca@lucaceresoli.net>
Fri, 24 Aug 2018 16:35:20 +0000 (12:35 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 17 Sep 2018 19:09:19 +0000 (15:09 -0400)
commit7d2332c76d1bbc81bd9ebee839c2c90d961ac182
tree26041976fbfd5cb4beb79c8ff9fecd7d5820a151
parent3df8adb7d52dc4d1b525b8013340ca48759090a2
media: imx274: rearrange sensor startup register tables

Rearrange the imx274_start_<N> register tables to better match the
datasheet and slightly simplify code:

 - collapes tables 1 and 2, they are applied one after each other and
   together they implement the fixed part 1 of the startup procedure
   in the datasheet
 - while there, cleanup comments
 - rename tables 3 and 4 -> 2 and 3, coherently with the datasheet

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/imx274.c