]> Gentwo Git Trees - linux/.git/commit
media: exynos-gsc: Access v4l2_fh from file
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>
Sun, 10 Aug 2025 01:30:34 +0000 (04:30 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 13 Aug 2025 06:33:51 +0000 (08:33 +0200)
commit9d612344a2fc4d59a8c0b8c72bbfb774ae181e2b
treec3c80f52b5f7c8120e33a3e781fc96c5ed14514c
parentaa099b1129a834d508761a9af18c6bf5f78b057d
media: exynos-gsc: 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>
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>
drivers/media/platform/samsung/exynos-gsc/gsc-core.h
drivers/media/platform/samsung/exynos-gsc/gsc-m2m.c