[media] coda: reset CODA960 hardware after sequence end
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 10 Jul 2015 13:37:44 +0000 (10:37 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 17 Jul 2015 14:23:01 +0000 (11:23 -0300)
commit68aa7ee15cd683006ec1ac91ad60c019bf62d978
treeb0018fc03521e8cb6ab420c870c45d3f825690f3
parent47f3fa63ee5c0e6bdf9c9d5ed73fc791981336e4
[media] coda: reset CODA960 hardware after sequence end

On i.MX6, sometimes after decoding a stream, encoding will produce macroblock
errors caused by missing 8-byte sequences in the output stream. Until the cause
for this is found, reset the hardware after sequence end, which seems to help.

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@osg.samsung.com>
drivers/media/platform/coda/coda-bit.c