17f0b42...
by
ArturX Kloniecki <email address hidden>
Buffer: Allow multiple callbacks registered to buffer component.
In order to allow multiple callbacks registered to single buffer
component, buffer_callback structure is created and list of callbacks
nested into comp_buffer.
handler: rework ipc_cmd to return only once and log last request
This patch edit ipc_cmd (main ipc dispatcher) to return only at
the end of the function. This simplifies debugging a lot.
Along with that change additional log has been added at the
end of the function to show what was the the last request
and its return value.
Signed-off-by: Marcin Rajwa <email address hidden>
alloc: fix the heap alloc trace infinite loop issue
The while loop in alloc_trace_runtime_heap() and
alloc_trace_buffer_heap() will always get the first matched heap from
get_heap_from_caps() and the loop will run infinitely.
This patch create a function alloc_trace_heap() which will be passed in
different heap_base and heap_count to fix the issue mentioned, and both
runtime_heap and buffer_heap can reuse this same function for tracing.
Signed-off-by: Keyon Jie <email address hidden>
b66a6d5...
by
Bartosz Kokoszko <email address hidden>
dai: use periods from sof_ipc_comp_config in dai_params()
In dai_playback_params() and dai_capture_params()
functions we do not have to take period values
from adjacent component. We can retrieve it from
dai component sof_ipc_comp_config struct.