Re: [PATCH 20/65] media: camss: Remove custom .release fop()
Vladimir Zapolskiy <[email protected]> Sun, 24 Aug 2025 22:07:16 +0300
| Newsgroups | gmane.linux.ports.tegra,gmane.linux.drivers.video-input-infrastructure,gmane.linux.kernel,gmane.linux.documentation,gmane.linux.ports.arm.kernel,gmane.linux.ports.arm.mediatek,gmane.linux.kernel.renesas-soc,gmane.linux.ports.arm.msm,gmane.linux.kernel.samsung-soc,gmane.linux.usb.general,gmane.linux.ports.arm.rockchip,gmane.comp.video.mjpeg.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Jacopo, thank you for the change! On 8/2/25 12:22, Jacopo Mondi wrote: > 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-ryLnwIuWjnjg/[email protected]> Tested-by: Vladimir Zapolskiy <[email protected]> Reviewed-by: Vladimir Zapolskiy <[email protected]> -- Best wishes, Vladimir