Loading drivers/media/platform/msm/vidc/msm_vidc_common.c +10 −1 Original line number Diff line number Diff line Loading @@ -2563,11 +2563,20 @@ int msm_comm_suspend(int core_id) } mutex_lock(&core->lock); if (core->state != VIDC_CORE_INIT_DONE) { dprintk(VIDC_ERR, "%s - fw is not in proper state, skip suspend\n", __func__); rc = -EINVAL; goto exit; } rc = call_hfi_op(hdev, suspend, hdev->hfi_device_data); if (rc) dprintk(VIDC_WARN, "Failed to suspend\n"); mutex_unlock(&core->lock); exit: mutex_unlock(&core->lock); return rc; } Loading Loading
drivers/media/platform/msm/vidc/msm_vidc_common.c +10 −1 Original line number Diff line number Diff line Loading @@ -2563,11 +2563,20 @@ int msm_comm_suspend(int core_id) } mutex_lock(&core->lock); if (core->state != VIDC_CORE_INIT_DONE) { dprintk(VIDC_ERR, "%s - fw is not in proper state, skip suspend\n", __func__); rc = -EINVAL; goto exit; } rc = call_hfi_op(hdev, suspend, hdev->hfi_device_data); if (rc) dprintk(VIDC_WARN, "Failed to suspend\n"); mutex_unlock(&core->lock); exit: mutex_unlock(&core->lock); return rc; } Loading