[media] smiapp: Obtain frame layout from the frame descriptor
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 5 Sep 2016 11:18:34 +0000 (08:18 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 17:09:06 +0000 (15:09 -0200)
commit3fc34b7beb89472b61f919ec0f8699e2a3b46d94
treedc62f3cbf48198a145440a642f79cc1360bc5cf1
parentdf0e40339b48e149f25da9010bc92a39afbf5e66
[media] smiapp: Obtain frame layout from the frame descriptor

Besides the image data, SMIA++ compliant sensors also provide embedded
data in form of registers used to capture the image. Store this
information for later use in frame descriptor and routing.

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
drivers/media/i2c/smiapp/smiapp.h