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)
commit2aa314b4f52f644d7995b8e7ddc831e6e0e1851c
tree2a96c8c9d646d87dc46d154c96114929005f5cbc
parent5c5b90f5cbad77dc15d8b5582efdb2e362bcd710
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