瀏覽代碼

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 <[email protected]>
Wyes Karny 4 年之前
父節點
當前提交
0b7f4c8984
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver2.c

+ 3 - 2
drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver2.c

@@ -1,6 +1,6 @@
 // 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>
@@ -1273,7 +1273,8 @@ static int cam_vfe_bus_start_wm(
 			return rc;
 		}
 		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
 				*ubwc_regs;