pipeline: remove duplicated pipeline copy

As task scheduler is refined to accept adding new task while previous
task is running. This duplicated copy should be removed.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
This commit is contained in:
Pan Xiuli 2018-12-19 16:28:14 +08:00 committed by Liam Girdwood
parent 699321e679
commit 4a7eccb7ba
1 changed files with 0 additions and 13 deletions

View File

@ -1242,19 +1242,6 @@ static int pipeline_xrun_recover(struct pipeline *p)
return ret;
}
/* for playback copy it here, because scheduling won't work
* on this interrupt level
*/
if (p->sched_comp->params.direction == SOF_IPC_STREAM_PLAYBACK) {
ret = pipeline_copy(p->sched_comp);
if (ret < 0) {
trace_pipe_error_with_ids(p, "pipeline_xrun_recover() "
"error: pipeline_copy() "
"failed, ret = %d", ret);
return ret;
}
}
return 0;
}