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>
Cette révision appartient à :
Wyes Karny
2021-03-03 21:22:26 +05:30
Parent e08282e5b5
révision 0b7f4c8984

Voir le fichier

@@ -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;