Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d59ab976 authored by Alok Pandey's avatar Alok Pandey
Browse files

msm: camera: ope: Correctng OPE version for KHAJE



OPE probe is failing due to incorrect OPE version.
Correcting OPE version as a fix.

CRs-Fixed: 2994159
External Impact: No
Change-Id: I8c4de8aa76c1da883a922b1ca873b31e8937ca03
Signed-off-by: default avatarAlok Pandey <akumarpa@codeaurora.org>
parent ad4b86bd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2019-2021, The Linux Foundation. All rights reserved.
 */

#include <linux/module.h>
@@ -66,6 +66,7 @@ static int cam_ope_init_hw_version(struct cam_hw_soc_info *soc_info,

	switch (core_info->hw_version) {
	case OPE_HW_VER_1_0_0:
	case OPE_HW_VER_1_1_0:
		core_info->ope_hw_info->ope_hw = &ope_hw_100;
		break;
	default:
+2 −1
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2019-2021, The Linux Foundation. All rights reserved.
 */

#ifndef CAM_OPE_HW_H
#define CAM_OPE_HW_H

#define OPE_HW_VER_1_0_0 0x10000000
#define OPE_HW_VER_1_1_0 0x10010000

#define OPE_DEV_OPE  0
#define OPE_DEV_MAX  1