mirror of https://github.com/thesofproject/sof.git
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:
parent
699321e679
commit
4a7eccb7ba
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue