]> git.baikalelectronics.ru Git - kernel.git/commit
media: rockchip/vpu: Get vdev from the file arg in vidioc_querycap()
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 25 Apr 2019 07:12:29 +0000 (03:12 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 15 May 2019 09:38:06 +0000 (05:38 -0400)
commit6fb49fb3024cbe4eec75e652d570dea3bed2c5a3
tree2a96c8c9d646d87dc46d154c96114929005f5cbc
parent9d3fd0227432febf1674045d1e503e8bf25e0459
media: rockchip/vpu: Get vdev from the file arg in vidioc_querycap()

This makes the function more generic so it can easily be re-used when
adding support for the decoding functionality.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/rockchip/vpu/rockchip_vpu_enc.c