This patch adds the two parameters into DMIC configuration
IPC. The parameters will control DMIC HW muting in capture start
and ensure in capture stop that the clock has been kept active
sufficient long time. The implementation of these features is
done later.
The reserved[] vector is reduced by the amount of added
words. Also the ABI minor version is incremented.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
As API required, we need transfer stream host comp.id inside hdr cmd,
otherwise, host side can't get information about which stream has Xrun
happened, and reported error as "XRUN for unknown stream, msg_id 0".
This is similar to Position IPC, add comp.id into cmd to fix it.
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add channel number to dmac in legacy platforms, and change the dma_init
function to fit the curruct code framework.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
position for trace->pos is not updated, make error trace only show the
newest one. Now update the pos to make all error trace can be seen.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Some platforms like APL, CNL and ICL have a ROM that read the manifest
and loads the boot loader. This builds a simple ROM so that qemu can
boot APL, CNL and ICL firmware images for CI boot testing.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Bit mask setting macros for for specific parameters were expanded
in a way that was causing unexpected compiler behaviour. Specifically:
literal 1 was treated as 32bit integer ((1 << ((b_hi)-(b_lo) + 1)) -1)
was expanded to shift the 32bit integer by 32. ((1 << (31 - 0 + 1)) -1)
Macro MASK() was was missing left shift.
Signed-off-by: Lech Betlej <lech.betlej@linux.intel.com>
Case when w_ptr and r_ptr of dma buffer are equal, means
that buffer is empty. During adding traces to buffer, we
should't lead to that equality.
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
we now using git tag for version number control, but if
we release the code without .git/ folder, the git tag version
number is not present, so will cause compile error.
add the .tarball-version file as the local version number file,
it still can be generated by the autogen.sh from git tag. So
everytime anyone make a git tag should still modify the
.tarball-version file.
Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
In functions pipeline_buffer_connect and pipeline_comp_connect
I have removed possibility to make log with pipe/comp ids, because
pipeline ptr in struct comp_dev is not initialize until
connect_upstream or connect_downstream invocation.
fixes#562
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
Unified access macros across ApolloLake, CannonLake, SueCreek, Icelake.
Including clean up in HP SRAM init procedure at boot loader.
Signed-off-by: Lech Betlej <lech.betlej@linux.intel.com>