Loading drivers/media/platform/msm/vidc/msm_vidc_common.c +3 −3 Original line number Diff line number Diff line Loading @@ -4792,6 +4792,9 @@ static void msm_comm_flush_in_invalid_state(struct msm_vidc_inst *inst) enum vidc_ports ports[] = {OUTPUT_PORT, CAPTURE_PORT}; int c = 0; /* before flush ensure venus released all buffers */ msm_comm_try_state(inst, MSM_VIDC_RELEASE_RESOURCES_DONE); for (c = 0; c < ARRAY_SIZE(ports); ++c) { enum vidc_ports port = ports[c]; Loading Loading @@ -4897,9 +4900,6 @@ int msm_comm_flush(struct msm_vidc_inst *inst, u32 flags) } mutex_unlock(&inst->registeredbufs.lock); /* enable in flush */ inst->in_flush = true; hdev = inst->core->device; if (ip_flush) { dprintk(VIDC_DBG, "Send flush on all ports to firmware\n"); Loading Loading
drivers/media/platform/msm/vidc/msm_vidc_common.c +3 −3 Original line number Diff line number Diff line Loading @@ -4792,6 +4792,9 @@ static void msm_comm_flush_in_invalid_state(struct msm_vidc_inst *inst) enum vidc_ports ports[] = {OUTPUT_PORT, CAPTURE_PORT}; int c = 0; /* before flush ensure venus released all buffers */ msm_comm_try_state(inst, MSM_VIDC_RELEASE_RESOURCES_DONE); for (c = 0; c < ARRAY_SIZE(ports); ++c) { enum vidc_ports port = ports[c]; Loading Loading @@ -4897,9 +4900,6 @@ int msm_comm_flush(struct msm_vidc_inst *inst, u32 flags) } mutex_unlock(&inst->registeredbufs.lock); /* enable in flush */ inst->in_flush = true; hdev = inst->core->device; if (ip_flush) { dprintk(VIDC_DBG, "Send flush on all ports to firmware\n"); Loading