OSDN Git Service

media: coda: fix decoder sequence init escape flag
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 28 Jul 2017 13:26:25 +0000 (09:26 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 8 Aug 2017 10:49:26 +0000 (06:49 -0400)
commit45340c14e55aef16b5b535e9b7c1ebfea050a314
tree7e6b09e21273985b7c411345568226014e5ec3dc
parent0b2e9e7947e7bfd08c512e15ae02645cf9cd38c5
media: coda: fix decoder sequence init escape flag

coda_command_sync calls coda_command_async, which writes the
bit_stream_param context variable into the BIT_STREAM_PARAM register,
overwriting the previously set value during coda_start_decoding. Instead
of writing to the register, set bit_stream_param to ensure that the
decoder sequence init command is executed with the escape flag set.

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/platform/coda/coda-bit.c