linux/drivers/media
Philipp Zabel 15c3d5aae7 media: coda: lock capture queue wakeup against decoder stop command
Similar to commit 9ee50a9489 ("media: coda: lock capture queue wakeup
against encoder stop command"), make sure that a JPEG decoder stop
command running concurrently with a decoder finish_run always either
flags the last returned buffer or wakes up the capture queue to signal
the end of stream condition afterwards.

This was not necessary for BIT processor contexts because of the need to
release the bitstream buffer with the stream end condition. In contrast,
the JPEG decoder can be finished with decoding the image between the
time the application queues the last output buffer and the time it
issues the decoder stop command.

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+huawei@kernel.org>
2020-04-14 11:56:20 +02:00
..
cec media: Kconfig: move CEC-specific options to cec/Kconfig 2020-04-14 10:29:05 +02:00
common media: dvb-usb: auto-select CYPRESS_FIRMWARE 2020-04-14 10:29:04 +02:00
dvb-core media: Kconfig: move DVB-specific options to dvb-core/Kconfig 2020-04-14 10:29:05 +02:00
dvb-frontends media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
firewire media: Kconfig: mode firewire comment to firewire/Kconfig 2020-04-14 10:29:04 +02:00
i2c media: docs: add an uAPI chapter for driver-specific stuff 2020-04-14 10:36:50 +02:00
mc media: Kconfig: move media controller core select to main Kconfig 2020-04-14 10:29:06 +02:00
mmc media: Kconfig: move comment to siano include 2020-04-14 10:29:04 +02:00
pci media: pci: saa7134: convert to use i2c_new_client_device() 2020-04-14 11:29:10 +02:00
platform media: coda: lock capture queue wakeup against decoder stop command 2020-04-14 11:56:20 +02:00
radio media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
rc media: rc: Use scnprintf() for avoiding potential buffer overflow 2020-03-20 16:27:42 +01:00
spi media: Kconfig files: use select for V4L2 subdevs and MC 2020-04-14 10:29:05 +02:00
test_drivers media: Kconfig files: use select for V4L2 subdevs and MC 2020-04-14 10:29:05 +02:00
tuners media: tuners: Use the correct style for SPDX License Identifier 2019-10-24 18:57:55 -03:00
usb media: usb: pvrusb2: convert to use i2c_new_client_device() 2020-04-14 11:32:04 +02:00
v4l2-core media: add v4l2 JPEG helpers 2020-04-14 11:47:47 +02:00
Kconfig Revert "media: Kconfig: better support hybrid TV devices" 2020-04-14 11:00:30 +02:00
Makefile media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00