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

Commit b8c71593 authored by Tony Lijo Jose's avatar Tony Lijo Jose Committed by Abhilash Kumar
Browse files

msm: camera: cpas: new soc id for SDM710 target



New soc id is assigned for sdm710 target. Add support
for the same.

Change-Id: Id89b50201156cec2ad3392904b39ec09ca035852
Signed-off-by: default avatarTony Lijo Jose <tjose@codeaurora.org>
Signed-off-by: default avatarAbhilash Kumar <krabhi@codeaurora.org>
parent ccf21f85
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -492,8 +492,9 @@ static int cam_cpastop_poweron(struct cam_hw_info *cpas_hw)
		}
	}

	if ((soc_private && soc_private->soc_id == SDM670_SOC_ID) &&
		(soc_private->hw_rev == SDM670_V1_1)) {
	if ((soc_private && ((soc_private->soc_id == SDM710_SOC_ID) ||
		((soc_private->soc_id == SDM670_SOC_ID) &&
		(soc_private->hw_rev == SDM670_V1_1))))) {

		struct cam_cpas_reg *reg_info;
		int tcsr_index;
@@ -551,8 +552,9 @@ static int cam_cpastop_poweroff(struct cam_hw_info *cpas_hw)
		}
	}

	if ((soc_private && soc_private->soc_id == SDM670_SOC_ID) &&
		(soc_private->hw_rev == SDM670_V1_1)) {
	if ((soc_private && ((soc_private->soc_id == SDM710_SOC_ID)
		|| ((soc_private->soc_id == SDM670_SOC_ID) &&
		(soc_private->hw_rev == SDM670_V1_1))))) {

		struct cam_cpas_reg *reg_info;
		int tcsr_index;
+1 −0
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@

/* soc id */
#define SDM670_SOC_ID 336
#define SDM710_SOC_ID 360

/* Minor Version */
#define SDM670_V1_1 0x1