techpack: camera: Fix enum comparison warning

drivers/cam_isp/isp_hw_mgr/cam_tfe_hw_mgr.c:3038:21: error:
comparison of different enumeration types ('enum cam_tfe_csid_halt_cmd'
and 'enum cam_ife_csid_halt_cmd') [-Werror,-Wenum-compare]

	if (csid_halt_type == CAM_CSID_HALT_IMMEDIATELY)
	    ~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~

Change-Id: I13b0c86ded5ba544380c2ca9fd3d1a73db9ea63b
This commit is contained in:
Albert Tang 2024-12-20 11:27:18 -08:00
commit 281c6276aa

View file

@ -3035,7 +3035,7 @@ static int cam_tfe_mgr_stop_hw(void *hw_mgr_priv, void *stop_hw_args)
master_base_idx = ctx->base[0].idx;
/*Change slave mode*/
if (csid_halt_type == CAM_CSID_HALT_IMMEDIATELY)
if (csid_halt_type == CAM_TFE_CSID_HALT_IMMEDIATELY)
cam_tfe_mgr_csid_change_halt_mode(ctx,
CAM_TFE_CSID_HALT_MODE_INTERNAL);