]> git.baikalelectronics.ru Git - kernel.git/commit
media: coda: only set the stream end flags if there are no more pending output buffers
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 18 Jun 2019 16:45:25 +0000 (12:45 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 24 Jun 2019 18:36:55 +0000 (14:36 -0400)
commitd56010c18890d2b4ea89fd7127131be972299274
tree228300c121c16f88d36c9126ca4edeed92762e06
parent971870163aca4309d6c5e5f10569587adad7a2cf
media: coda: only set the stream end flags if there are no more pending output buffers

If there are still queued output buffers pending to be copied into the
bitstream ring buffer, setting the stream end flag should be deferred
until the marked last output buffer is written into the bitstream ring
buffer.

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