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>
Cette révision appartient à :
Priyanka Gujjula
2021-11-17 17:44:00 +05:30
Parent 5645c4fa45
révision 6eacf50e78

Voir le fichier

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