[media] imx074: avoid calling imx074_find_datafmt() twice
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 4 May 2015 10:25:48 +0000 (07:25 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 15 Apr 2017 01:28:34 +0000 (22:28 -0300)
commit1d3d64370e0894ee9816d0c3b385a41044921b3f
treeb91334931242820cda9a70f908a9204539f9394a
parent3a2824c72ab5d9b2b93d49461f09d5ae342d994c
[media] imx074: avoid calling imx074_find_datafmt() twice

Simplify imx074_set_fmt().

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/soc_camera/imx074.c