[media] atmel-isi: prepare for the support of preview path
authorJosh Wu <josh.wu@atmel.com>
Tue, 3 Nov 2015 05:45:09 +0000 (03:45 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 17 Nov 2015 17:29:19 +0000 (15:29 -0200)
commit0fb725750b040253b111b106ca235dfbccf4ec3f
treea8cd2fbdfddd3f84f9069ddd99873964be0e3bc7
parentba0422bf56e162b4f9f65c3b6f7fa178578da859
[media] atmel-isi: prepare for the support of preview path

Atmel ISI support a preview path which can output RGB data.

So this patch introduces a bool variable to choose which path is
enabled currently. And also we need setup corresponding path registers.

By default the preview path is disabled. We only use Codec path.

Signed-off-by: Josh Wu <josh.wu@atmel.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