[media] marvell-ccic: reset ccic phy when stop streaming for stability
authorLibin Yang <lbyang@marvell.com>
Wed, 3 Jul 2013 04:56:00 +0000 (01:56 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 26 Jul 2013 16:24:18 +0000 (13:24 -0300)
commit7c269f454e7a51b151d94f99344120efa1cd0acb
treec5960c5e8b6b90fab06750ffbfe653a60da50d3f
parent0e394f44fbd6d6bf87afd37cee74bc341019f86b
[media] marvell-ccic: reset ccic phy when stop streaming for stability

This patch adds the reset ccic phy operation when stop streaming.
Stop streaming without reset ccic phy, the next start streaming
may be unstable.
Also need add CCIC2 definition when PXA688/PXA2128 support dual ccics.

Signed-off-by: Albert Wang <twang13@marvell.com>
Signed-off-by: Libin Yang <lbyang@marvell.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/marvell-ccic/mcam-core.c
drivers/media/platform/marvell-ccic/mcam-core.h
drivers/media/platform/marvell-ccic/mmp-driver.c