[media] smiapp: Initialise media entity after sensor init
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 5 Sep 2016 13:04:52 +0000 (10:04 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 16:20:01 +0000 (14:20 -0200)
commit6d8d61fe661aa6466ed709e5459cd3255dea87b9
treed8b88236f2b23321d6955af2954f035ad76b6f26
parentcc1488a1fcdcf8fee3ca12c82f5a48745b7fa45d
[media] smiapp: Initialise media entity after sensor init

This allows determining the number of pads in the entity based on the
sensor.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/smiapp/smiapp-core.c