|
@@ -157,7 +157,8 @@ static int msm_vidc_deinit_platform_variant(struct msm_vidc_core *core, struct d
|
|
if (of_device_is_compatible(dev->of_node, "qcom,msm-vidc-waipio")) {
|
|
if (of_device_is_compatible(dev->of_node, "qcom,msm-vidc-waipio")) {
|
|
rc = msm_vidc_deinit_platform_waipio(core, dev);
|
|
rc = msm_vidc_deinit_platform_waipio(core, dev);
|
|
if (rc)
|
|
if (rc)
|
|
- d_vpr_e("%s: failed with %d\n", __func__, rc);
|
|
|
|
|
|
+ d_vpr_e("%s: failed msm-vidc-waipio with %d\n",
|
|
|
|
+ __func__, rc);
|
|
goto end_target_config;
|
|
goto end_target_config;
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
@@ -165,7 +166,8 @@ static int msm_vidc_deinit_platform_variant(struct msm_vidc_core *core, struct d
|
|
if (of_device_is_compatible(dev->of_node, "qcom,msm-vidc-diwali")) {
|
|
if (of_device_is_compatible(dev->of_node, "qcom,msm-vidc-diwali")) {
|
|
rc = msm_vidc_deinit_platform_diwali(core, dev);
|
|
rc = msm_vidc_deinit_platform_diwali(core, dev);
|
|
if (rc)
|
|
if (rc)
|
|
- d_vpr_e("%s: failed with %d\n", __func__, rc);
|
|
|
|
|
|
+ d_vpr_e("%s: failed msm-vidc-diwali with %d\n",
|
|
|
|
+ __func__, rc);
|
|
goto end_target_config;
|
|
goto end_target_config;
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
@@ -189,7 +191,8 @@ static int msm_vidc_init_platform_variant(struct msm_vidc_core *core, struct dev
|
|
if (of_device_is_compatible(dev->of_node, "qcom,msm-vidc-waipio")) {
|
|
if (of_device_is_compatible(dev->of_node, "qcom,msm-vidc-waipio")) {
|
|
rc = msm_vidc_init_platform_waipio(core, dev);
|
|
rc = msm_vidc_init_platform_waipio(core, dev);
|
|
if (rc)
|
|
if (rc)
|
|
- d_vpr_e("%s: failed with %d\n", __func__, rc);
|
|
|
|
|
|
+ d_vpr_e("%s: failed msm-vidc-waipio with %d\n",
|
|
|
|
+ __func__, rc);
|
|
goto end_target_config;
|
|
goto end_target_config;
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
@@ -197,7 +200,8 @@ static int msm_vidc_init_platform_variant(struct msm_vidc_core *core, struct dev
|
|
if (of_device_is_compatible(dev->of_node, "qcom,msm-vidc-diwali")) {
|
|
if (of_device_is_compatible(dev->of_node, "qcom,msm-vidc-diwali")) {
|
|
rc = msm_vidc_init_platform_diwali(core, dev);
|
|
rc = msm_vidc_init_platform_diwali(core, dev);
|
|
if (rc)
|
|
if (rc)
|
|
- d_vpr_e("%s: failed with %d\n", __func__, rc);
|
|
|
|
|
|
+ d_vpr_e("%s: failed msm-vidc-diwali with %d\n",
|
|
|
|
+ __func__, rc);
|
|
goto end_target_config;
|
|
goto end_target_config;
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
@@ -221,7 +225,8 @@ static int msm_vidc_deinit_vpu(struct msm_vidc_core *core, struct device *dev)
|
|
if (of_device_is_compatible(dev->of_node, "qcom,msm-vidc-iris2")) {
|
|
if (of_device_is_compatible(dev->of_node, "qcom,msm-vidc-iris2")) {
|
|
rc = msm_vidc_deinit_iris2(core);
|
|
rc = msm_vidc_deinit_iris2(core);
|
|
if (rc)
|
|
if (rc)
|
|
- d_vpr_e("%s: failed with %d\n", __func__, rc);
|
|
|
|
|
|
+ d_vpr_e("%s: failed msm-vidc-iris2 with %d\n",
|
|
|
|
+ __func__, rc);
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
return rc;
|
|
return rc;
|
|
@@ -240,7 +245,8 @@ static int msm_vidc_init_vpu(struct msm_vidc_core *core, struct device *dev)
|
|
if (of_device_is_compatible(dev->of_node, "qcom,msm-vidc-iris2")) {
|
|
if (of_device_is_compatible(dev->of_node, "qcom,msm-vidc-iris2")) {
|
|
rc = msm_vidc_init_iris2(core);
|
|
rc = msm_vidc_init_iris2(core);
|
|
if (rc)
|
|
if (rc)
|
|
- d_vpr_e("%s: failed with %d\n", __func__, rc);
|
|
|
|
|
|
+ d_vpr_e("%s: failed msm-vidc-iris2 with %d\n",
|
|
|
|
+ __func__, rc);
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
return rc;
|
|
return rc;
|