summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2025-08-10 04:30:26 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-08-13 09:33:49 +0300
commit50363fc1feb87f48163bfa1cd431b46db917d0ad (patch)
tree17e49ab8b089bd9811e84d66eec5bad3c8b78709 /scripts
parent698c41290e8dafc5a9089f0bec147a7dcd0c6849 (diff)
downloadlinux-50363fc1feb87f48163bfa1cd431b46db917d0ad.tar.xz
media: mtk: vcodec: Access v4l2_fh from file
The v4l2_fh associated with an open file handle is now guaranteed to be available in file->private_data, initialised by v4l2_fh_add(). Access the v4l2_fh, and from there the driver-specific structure, from the file * in all ioctl handlers. While at modify mtk_vcodec_enc_get_chip_name() to accept a ctx instead of a raw void *. Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Co-developed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions