[media] smiapp: Provide a common function to obtain native pixel array size
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 5 Sep 2016 15:15:15 +0000 (12:15 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 16:58:22 +0000 (14:58 -0200)
commit6c5ff7c8e8800c95be96c59f02ea31b8860ad745
treef6c3c8f6c5f90de564c6ee3da4848a7f4dc73d7a
parent2fca9ca0d6fb172ab4c01f506fc864f2881b6f80
[media] smiapp: Provide a common function to obtain native pixel array size

The same pixel array size is required for the active format of each
sub-device sink pad and try format of each sink pad of each opened file
handle as well as for the native size rectangle.

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