]> Gentwo Git Trees - linux/.git/commit
media: camss: Remove custom .release fop()
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>
Sun, 10 Aug 2025 01:30:02 +0000 (04:30 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 13 Aug 2025 06:33:32 +0000 (08:33 +0200)
commit9c7ee499483d493152d5fd7cf477754099af14ed
tree3a2828880659a2ab48b29ebd4c08e5d987d54e72
parentcaa5c3439af793a727a9dcb69b1fdec7ece66302
media: camss: Remove custom .release fop()

The 'file->private_data' pointer is reset in the vb2_fop_release()
call path. For this reason a custom handler for the .release
file operation is not needed and the driver can use
vb2_fop_release() directly.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/qcom/camss/camss-video.c