[media] tc358743: put lanes in STOP state before starting streaming
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 13 Feb 2017 09:24:36 +0000 (07:24 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 22 Mar 2017 13:06:22 +0000 (10:06 -0300)
commitfbd4676cc2930ba40d507eaadf3ff06d3eba7e6a
treeeecf35f68c9fb56cdd9ce67f18b3278c7c369810
parent700ea5e0e0dd70420a04e703ff264cc133834cba
[media] tc358743: put lanes in STOP state before starting streaming

Without calling tc358743_set_csi after stopping streaming (or calling
tc358743_s_dv_timings or tc358743_set_fmt from userspace after stopping
the stream), the i.MX6 MIPI CSI2 input fails waiting for lanes to enter
STOP state when streaming is started again.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/tc358743.c