[media] atmel-isi: disable ISI even if it has codec request
authorJosh Wu <josh.wu@atmel.com>
Tue, 26 May 2015 09:54:45 +0000 (06:54 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 6 Jul 2015 11:25:51 +0000 (08:25 -0300)
commit8c0378354709058bba3319bb58fd04bd09e1eaa6
tree87c78fc7814712432dc3a616aacc43b4efa978d2
parent408131b85509902b100f7045484c7377a40be99d
[media] atmel-isi: disable ISI even if it has codec request

In current code, stop_streaming() will just return if ISI is still
working in the codec. But this is incorrect, we need to disable ISI even
it is working on the codec, otherwise stop_streaming() will not work as
we expected.

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