upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:51:27 +0000 (11:51 +0900)
commit41960fbc0c4555e0bff83000d0c9586d11e6647d
treece6c504b3e2609a494982d4c608d5ea871d2e65d
parent3d5faa1a095d6aced3b3ccb4e8c8ad72f33d0c86
upstream: [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