mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
vi5_fops: fix mem leak
release capture requests and embedded data buffers before closing and exiting the stream bug 4336756 Change-Id: Iba856eea9757a8226bc949ae1d72a87adf2d55eb Signed-off-by: Anubhav rai <arai@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3068424 Reviewed-by: Praveen AC <pac@nvidia.com> Reviewed-by: Jerry Chang <jerchang@nvidia.com> Reviewed-by: Ankur Pawar <ankurp@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
bec1d86778
commit
e5075835ab
@@ -2,7 +2,7 @@
|
||||
/*
|
||||
* Tegra Media controller common APIs
|
||||
*
|
||||
* Copyright (c) 2012-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* Copyright (c) 2012-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __CAMERA_MC_COMMON_H__
|
||||
@@ -251,6 +251,8 @@ struct tegra_channel {
|
||||
struct nvcsi_deskew_context *deskew_ctx;
|
||||
struct tegra_vi_channel *tegra_vi_channel[TEGRA_CSI_BLOCKS];
|
||||
struct capture_descriptor *request[TEGRA_CSI_BLOCKS];
|
||||
dma_addr_t request_iova[TEGRA_CSI_BLOCKS];
|
||||
|
||||
bool is_slvsec;
|
||||
int is_interlaced;
|
||||
enum interlaced_type interlace_type;
|
||||
|
||||
Reference in New Issue
Block a user