]> Gentwo Git Trees - linux/.git/commit
media: coda: Access v4l2_fh from file
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>
Sun, 10 Aug 2025 01:30:20 +0000 (04:30 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 13 Aug 2025 06:33:48 +0000 (08:33 +0200)
commita7f90007c2495c29909be4ae05e006b6a24844bb
treed2a5834abe31b6560d2cd9ccb6c3f9c1ed44ffd4
parente732b1221dbdf8b54ab5c85f06012962001f2c48
media: coda: 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/chips-media/coda/coda-common.c