msm: camera: sensor: update aon_cam_id to uint32 value in csiphy driver
Update the AON cam id value to uint32 for csiphy driver. CRs-Fixed: 3355901 Change-Id: I6f16cdc22c7dd0affc5e61f39cb783d2d67c39f9 Signed-off-by: Ridhi Shah <quic_ridhshah@quicinc.com>
Этот коммит содержится в:

коммит произвёл
Camera Software Integration

родитель
580ab56829
Коммит
82830d42b4
@@ -47,7 +47,7 @@ struct g_csiphy_data {
|
||||
uint32_t cpas_handle;
|
||||
bool is_configured_for_main;
|
||||
uint64_t data_rate_aux_mask;
|
||||
uint8_t aon_cam_id;
|
||||
uint32_t aon_cam_id;
|
||||
struct cam_csiphy_aon_sel_params_t *aon_sel_param;
|
||||
};
|
||||
|
||||
@@ -1641,7 +1641,7 @@ static int __csiphy_cpas_configure_for_main_or_aon(
|
||||
return rc;
|
||||
}
|
||||
|
||||
int cam_csiphy_util_update_aon_registration(uint32_t phy_idx, uint8_t aon_cam_id)
|
||||
int cam_csiphy_util_update_aon_registration(uint32_t phy_idx, uint32_t aon_cam_id)
|
||||
{
|
||||
/* aon support enable for the sensor associated with phy idx*/
|
||||
if (phy_idx >= MAX_CSIPHY) {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2017-2018, 2020-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _CAM_CSIPHY_CORE_H_
|
||||
@@ -91,5 +91,5 @@ int cam_csiphy_dump_status_reg(struct csiphy_device *csiphy_dev);
|
||||
* correct PHY hw.
|
||||
*
|
||||
*/
|
||||
int cam_csiphy_util_update_aon_registration(uint32_t phy_idx, uint8_t aon_camera_id);
|
||||
int cam_csiphy_util_update_aon_registration(uint32_t phy_idx, uint32_t aon_camera_id);
|
||||
#endif /* _CAM_CSIPHY_CORE_H_ */
|
||||
|
@@ -136,7 +136,7 @@ static inline int cam_sensor_util_aon_ops(bool get_access, uint32_t phy_idx)
|
||||
return cam_csiphy_util_update_aon_ops(get_access, phy_idx);
|
||||
}
|
||||
|
||||
static inline int cam_sensor_util_aon_registration(uint32_t phy_idx, uint8_t aon_camera_id)
|
||||
static inline int cam_sensor_util_aon_registration(uint32_t phy_idx, uint32_t aon_camera_id)
|
||||
{
|
||||
CAM_DBG(CAM_SENSOR, "Register phy_idx: %u for AON_Camera_ID: %d", phy_idx, aon_camera_id);
|
||||
return cam_csiphy_util_update_aon_registration(phy_idx, aon_camera_id);
|
||||
|
Ссылка в новой задаче
Block a user