Changed list delete function used after comp disconection
so it will return true on list_is_empty call.
Signed-off-by: Jakub Dabek <jakub.dabek@linux.intel.com>
Masks child interrupt as soon as it's disabled.
We shouldn't wait for the parent to have no children.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
The trace codes those start with an e get also highlighted with red
color to mark them as errors visually so better to avoid that since
these events are for normal operation.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This patch changes the behaviour in prepare() such that we do not
return an error if the IIR coefficients have not been set. It's
better to start in bypass mode since this is valid usage for EQ
when transducer EQ or effect does not need to be activated.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Added function that will delete and reinitialize list.
Reinitialized lists show up as empty unlike deleted with
list_item_del.
Signed-off-by: Jakub Dabek <jakub.dabek@linux.intel.com>
Removes wait on stop, as it's not needed.
Also this change fixes problems with sending IPC as
wait function lowers interrupt level, while IPCs are
now executed on irq task level.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This patch implements delay before SSP stop
to make sure, that for transmitting the FIFO is empty
and for receiving the FIFO provides the real status.
Also it clears transmit underrun.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
Added icelake platform to platforms.
Updated rimage to support icelake.
Updated autoconf and automake files.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This patch fixes the messed up code to properly return back the
equalizer configuration binary. The previous version looked more
like a mix of set_data() and get_data() also contained a null pointer
use risk.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This patch adds check that EQ confiquration binary contains at least
one channel in channel map. Also move the configuration size get to
be done after pointer has been checked for null.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Icelake needs FF to work, it doesn't look to break it for older platforms,
so there is no need for some ifdefs, we can make it 0xff for all.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
For cnl&apl removed platform_timer_register from public api
and made it static.
For byt&hsw moved platform_timer to platform.h
(just like it is for cnl&apl).
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
Moved platform_interrupt_* functions from platform.c to interrupt.c
to match CNL&APL. Updated headers for BYT&HSW to have the same functions
declarations as CNL&APL.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
Split files into appropriate folders.
Added makefiles to not break build.
Fixed checkpatch errors in dw-dma and baytrail/ssp.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This patch adds the missing handling of null pointers for the case
if memory allocation would fail.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Most of the errors are due to missing macros and header files. This
patch adds a number of minimal new header files into
src/arch/host/include/arch and src/library/include/platform.
The testbench ipc init is updated with previous changes of removed ipc
struct fields.
The testbench memory freeing code is updated with ipc struct change to
access comp_list.
The FIR EQ allocated pointer address tracing is removed since it is not
critical to trace. The pointer casting caused a compilation error for
host.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>