video-driver: Fix compilation errors for parrot

Fix compilation errors on parrot which has a
different lunch combo other than taro/diwali.

Change-Id: I35aee69bc8e18d50395a01b97d282c21e75da193
Signed-off-by: Priyanka Gujjula <quic_pgujjula@quicinc.com>
This commit is contained in:
Priyanka Gujjula
2021-11-17 17:44:00 +05:30
parent 5645c4fa45
commit 6eacf50e78

View File

@@ -9,6 +9,7 @@
#include "msm_vidc_v4l2.h" #include "msm_vidc_v4l2.h"
#include "msm_vidc_vb2.h" #include "msm_vidc_vb2.h"
#include "msm_vidc_control.h" #include "msm_vidc_control.h"
#include "msm_vidc_core.h"
#if defined(CONFIG_MSM_VIDC_WAIPIO) #if defined(CONFIG_MSM_VIDC_WAIPIO)
#include "msm_vidc_waipio.h" #include "msm_vidc_waipio.h"
#endif #endif
@@ -159,7 +160,7 @@ static int msm_vidc_deinit_platform_variant(struct msm_vidc_core *core, struct d
if (rc) if (rc)
d_vpr_e("%s: failed msm-vidc-waipio with %d\n", d_vpr_e("%s: failed msm-vidc-waipio with %d\n",
__func__, rc); __func__, rc);
goto end_target_config; return rc;
} }
#endif #endif
#if defined(CONFIG_MSM_VIDC_DIWALI) #if defined(CONFIG_MSM_VIDC_DIWALI)
@@ -168,11 +169,10 @@ static int msm_vidc_deinit_platform_variant(struct msm_vidc_core *core, struct d
if (rc) if (rc)
d_vpr_e("%s: failed msm-vidc-diwali with %d\n", d_vpr_e("%s: failed msm-vidc-diwali with %d\n",
__func__, rc); __func__, rc);
goto end_target_config; return rc;
} }
#endif #endif
end_target_config:
return rc; return rc;
} }
@@ -193,7 +193,7 @@ static int msm_vidc_init_platform_variant(struct msm_vidc_core *core, struct dev
if (rc) if (rc)
d_vpr_e("%s: failed msm-vidc-waipio with %d\n", d_vpr_e("%s: failed msm-vidc-waipio with %d\n",
__func__, rc); __func__, rc);
goto end_target_config; return rc;
} }
#endif #endif
#if defined(CONFIG_MSM_VIDC_DIWALI) #if defined(CONFIG_MSM_VIDC_DIWALI)
@@ -202,11 +202,10 @@ static int msm_vidc_init_platform_variant(struct msm_vidc_core *core, struct dev
if (rc) if (rc)
d_vpr_e("%s: failed msm-vidc-diwali with %d\n", d_vpr_e("%s: failed msm-vidc-diwali with %d\n",
__func__, rc); __func__, rc);
goto end_target_config; return rc;
} }
#endif #endif
end_target_config:
return rc; return rc;
} }