]> Gentwo Git Trees - linux/.git/commit
media: tegra-vde: Access v4l2_fh from file
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>
Sun, 10 Aug 2025 01:30:27 +0000 (04:30 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 13 Aug 2025 06:33:50 +0000 (08:33 +0200)
commit25fe47cdc9098760b493a7aa3e032eb0f1c14f7a
tree67a01a035d807f6f1013e9e54c704c142c5ab813
parent50363fc1feb87f48163bfa1cd431b46db917d0ad
media: tegra-vde: 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.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/nvidia/tegra-vde/v4l2.c