msm: camera: isp: Fix for wrong CPAS version selection in WM start

Add fix for wrong CPAS version selection in WM start.

CRs-Fixed: 2889723
Change-Id: Ic11f4ced601f3bb5f0f557714a1d2bd1f2143b78
Signed-off-by: Wyes Karny <wkarny@codeaurora.org>
This commit is contained in:
Wyes Karny
2021-03-03 21:22:26 +05:30
parent e08282e5b5
commit 0b7f4c8984

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
/* /*
* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. * Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
*/ */
#include <linux/ratelimit.h> #include <linux/ratelimit.h>
@@ -1273,7 +1273,8 @@ static int cam_vfe_bus_start_wm(
return rc; return rc;
} }
if ((camera_hw_version > CAM_CPAS_TITAN_NONE) && if ((camera_hw_version > CAM_CPAS_TITAN_NONE) &&
(camera_hw_version < CAM_CPAS_TITAN_175_V100)) { (camera_hw_version < CAM_CPAS_TITAN_175_V100) &&
(camera_hw_version != CAM_CPAS_TITAN_165_V100)) {
struct cam_vfe_bus_ver2_reg_offset_ubwc_client struct cam_vfe_bus_ver2_reg_offset_ubwc_client
*ubwc_regs; *ubwc_regs;