[media] smiapp: Separate late controls from the rest
authorSakari Ailus <sakari.ailus@iki.fi>
Tue, 9 Dec 2014 16:48:58 +0000 (13:48 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Dec 2014 13:47:51 +0000 (11:47 -0200)
commit2e9f3c1c4443b2e46ef15e021cdf693b16c5231d
tree80d472e1b04d6653669172f6d443007d5315cb1d
parent6208aebd33d341d5068ab0ccbff8035ff4034c08
[media] smiapp: Separate late controls from the rest

The default values and limits for certain controls need the knowledge of
available media bus codes or link frequencies. Create such controls later
on, so that most of the initialisation of the sensor has already been done
when the init quirk is called.

[mchehab@osg.samsung.com: make checkpatch.pl happier]
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/smiapp/smiapp-core.c