[media] atmel-isi: setup YCC_SWAP correctly when using preview path
authorJosh Wu <josh.wu@atmel.com>
Tue, 3 Nov 2015 05:45:11 +0000 (03:45 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 17 Nov 2015 17:31:47 +0000 (15:31 -0200)
commit7393de60a2ddd30ac0d6699c61f7a11519bf91fa
tree2180c669df4f86227b923dcd1114a6df4df122ab
parentbd70f260cb2629a60b676f045eeb90a061a7630e
[media] atmel-isi: setup YCC_SWAP correctly when using preview path

The preview path only can convert UYVY format to RGB data.

To make preview path work correctly, we need to set up YCC_SWAP
according to sensor output and convert them to UYVY.

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