SOF FW will need to remove recovery trying code, e.g. pipeline_prepare(), trigger start, and schedule copy. Just keep sending Xrun IPC to host driver side, host framework(e.g. ALSA) will help to handle this recovery if possible, e.g. trigger stop and start.
Activity
lgirdwood commentedon Dec 13, 2018
ok, no objections from me but we need to make sure drivers does do the recovery.
keyonjie commentedon Dec 14, 2018
@lgirdwood sure, @bardliao is working on that.
bardliao commentedon Dec 14, 2018
@keyonjie @lgirdwood My plan is to return SNDRV_PCM_POS_XRUN in sof_pcm_pointer when kernel receive the XRUN message from FW.
lgirdwood commentedon Dec 17, 2018
@mmaka1 any comment on your preference here about who recovers XRUN ?
slawblauciak commentedon Feb 18, 2019
FW xrun recovery will be disabled once driver fully handles the situation
thesofproject/linux#660
jajanusz commentedon Jun 6, 2019
WIP #1439
tlauda commentedon Oct 25, 2019
It's disabled in FW.