msm: camera: isp: Get correct csid core info
The core info in hw info structure pointer to csid hw, we need to get correct core info from the private data of match dev. CRs-Fixed: 3234793 Change-Id: I4f295c6eb206a0a61fb923b1e04bd00786dbfccf Signed-off-by: Depeng Shao <quic_depengs@quicinc.com>
This commit is contained in:

committato da
Camera Software Integration

parent
cd4c0a9f43
commit
730c772e58
@@ -1,6 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/slab.h>
|
||||
@@ -112,7 +113,6 @@ static void cam_ife_csid_component_unbind(struct device *dev,
|
||||
|
||||
hw_intf = (struct cam_hw_intf *)platform_get_drvdata(pdev);
|
||||
hw_info = hw_intf->hw_priv;
|
||||
core_info = hw_info->core_info;
|
||||
|
||||
CAM_DBG(CAM_ISP, "CSID:%d component unbind",
|
||||
hw_intf->hw_idx);
|
||||
@@ -124,6 +124,8 @@ static void cam_ife_csid_component_unbind(struct device *dev,
|
||||
goto free_mem;
|
||||
}
|
||||
|
||||
core_info = (struct cam_ife_csid_core_info *)match_dev->data;
|
||||
|
||||
cam_ife_csid_hw_deinit(hw_intf, core_info);
|
||||
|
||||
free_mem:
|
||||
|
Fai riferimento in un nuovo problema
Block a user