79f5614...
by
Daniel Baluta <email address hidden>
audio_buffer: Allow NULL to be passed to buffer_free
This will allow users to pass NULL to buffer_free.
This fixes codec_adapter_free crash, where mod->local_buff is only
allocated when the module is prepared.
With dynamic pipelines we could have the situation where the pipeline
is created then SOF device enters suspend and pipeline is destroyed.
Thus we try to free unallocated mod->local_buf. Fix this by allowing
buffer_free to live free when receiving a NULL pointer.
Signed-off-by: Daniel Baluta <email address hidden>
2fb6c1f...
by
Guennadi Liakhovetski <email address hidden>
pipeline: silence timestamp failure complains
pipeline_get_timestamp() can fail to obtain a valid timestamp when
called during data copying on the same pipeline, because the
.walking flag will be set for some of the buffers in the pipeline.
That issue should be fixed, because in fact there's no reason to fail
there, but for now at least remove the excessively verbose warning.
DSP connects to sai5 on the normal imx8ulp board(15x15). But on the
imx8ulp 9x9 board, DSP connects to sai6, add resource sai6, preparing
to bring up sof on the imx8ulp 9x9 board.