[PATCH 20/65] media: camss: Remove custom .release fop()

Vladimir Zapolskiy vladimir.zapolskiy at linaro.org
Sun Aug 24 12:07:16 PDT 2025


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 at ideasonboard.com>

Tested-by: Vladimir Zapolskiy <vladimir.zapolskiy at linaro.org>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy at linaro.org>

-- 
Best wishes,
Vladimir



More information about the linux-amlogic mailing list