[media] smiapp: Obtain correct media bus code for try format
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 8 Sep 2016 08:49:27 +0000 (05:49 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 17:13:26 +0000 (15:13 -0200)
commit1b81717ed7be8a88345dde1e0cffcc31a7693d81
treec48e7f12c6be6298eb5812e819b0615ecb9ead58
parent2aa8e838a303c7c9ed4b2761eb8ffe0930320d24
[media] smiapp: Obtain correct media bus code for try format

The media bus code obtained for try format may have been a code that the
sensor did not even support. Use a supported code with the current pixel
order.

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