summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-penmount.c
diff options
context:
space:
mode:
authorStanimir Varbanov <stanimir.varbanov@linaro.org>2017-10-13 16:13:17 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2017-10-27 14:01:09 +0200
commite69b987a97599456b95b5fef4aca8dcdb1505aea (patch)
tree316b84366bf7aff7e84d4d7fc2810140b10f4678 /drivers/hid/hid-penmount.c
parentmedia: vimc: Fix return value check in vimc_add_subdevs() (diff)
downloadlinux-e69b987a97599456b95b5fef4aca8dcdb1505aea.tar.xz
linux-e69b987a97599456b95b5fef4aca8dcdb1505aea.zip
media: venus: reimplement decoder stop command
This addresses the wrong behavior of decoder stop command by rewriting it. These new implementation enqueue an empty buffer on the decoder input buffer queue to signal end-of-stream. The client should stop queuing buffers on the V4L2 Output queue and continue queuing/dequeuing buffers on Capture queue. This process will continue until the client receives a buffer with V4L2_BUF_FLAG_LAST flag raised, which means that this is last decoded buffer with data. Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Tested-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: <stable@vger.kernel.org> # for v4.13 and up Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/hid/hid-penmount.c')
0 files changed, 0 insertions, 0 deletions