]> 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)
commite291867b53ac2c8c406cbd4e6a5b32b4d639478a
tree2a96c8c9d646d87dc46d154c96114929005f5cbc
parentbd604a0972ab163aa871f4dd665b652ffc0f4cd2
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