mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
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:
parent
94b85c658f
commit
281c6276aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue