]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] mtk-vcodec: add index check in decoder vidioc_qbuf
authorWu-Cheng Li <wuchengli@google.com>
Thu, 10 Nov 2016 05:24:05 +0000 (03:24 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 17:27:43 +0000 (15:27 -0200)
commitb7ccb9fb7994d0340314a5d467a8c4d3e37d6531
treeaa08c1536dcbd7a80116781756a818be9f6d79f0
parent93d39efdb1f8c8c4b848122b8c8ad986690fe9ba
[media] mtk-vcodec: add index check in decoder vidioc_qbuf

vb2_qbuf will check the buffer index. If a driver overrides
vidioc_qbuf and use the buffer index, the driver needs to check
the index.

Signed-off-by: Wu-Cheng Li <wuchengli@chromium.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c