media: coda: implement CMD_START to restart decoding
authorMichael Tretter <m.tretter@pengutronix.de>
Tue, 18 Jun 2019 16:45:08 +0000 (12:45 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 24 Jun 2019 18:12:07 +0000 (14:12 -0400)
commit60c74167fef4d25112ce32030bdbb958a8d01cae
tree920663502290247ed299198f34c234d31432add1
parent932952e525e5c8d38cf3df4a3265be5652d57c97
media: coda: implement CMD_START to restart decoding

The CMD_START shall be used to start the processing after a drain that
was initiated with CMD_STOP.

Up until now, a drain on coda could only be finished with a
STREAMOFF-STREAMON, which resulted in a reset of the device.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/coda/coda-common.c