[media] atmel-isi: move configure_geometry() to start_streaming()
authorJosh Wu <josh.wu@atmel.com>
Fri, 11 Sep 2015 07:00:15 +0000 (04:00 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 25 Sep 2015 20:35:47 +0000 (17:35 -0300)
commitf653da3457fc2988793393d202c487955a14e4e6
treecfcb019a4383b65a377fb8b3091e052f214df9cb
parentad5f9d19682b210b74f686ac58cfaad1044624ec
[media] atmel-isi: move configure_geometry() to start_streaming()

As in set_fmt() function we only need to know which format is been set,
we don't need to access the ISI hardware in this moment.

So move the configure_geometry(), which access the ISI hardware, to
start_streaming() will make code more consistent and simpler.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/soc_camera/atmel-isi.c