Parse the right channel name property to get the number
of wdsp channels supported.
Change-Id: I77d367aeab759c3eaf4a42b56f8fcb1261fe6e44
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Update module symbol folder from PRODUCT_OUT to OUT.
Change-Id: I4542c3d2b5e9e39b69f15954ef425c1915a58456
Signed-off-by: Meng Wang <mwang@codeaurora.org>
The UAPI headers will be copied from the include/uapi directory.
Remove support to copy the header files from ipc location.
Change-Id: Ie7e92942e476fdfd16c0b0d226c40e90ae9da0c4
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Add support for wdsp communication over rpmsg to enable
inter process communication between application processor
and codec DSP.
Change-Id: I6679e9d8b104bbd41e19bbf788a41129dc97da88
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Add support for apr communication over rpmsg to enable
inter processor comuunication b/w APPS and ADSP for
audio usecases.
Change-Id: I834ded7f1dd709e1d9e835b852c2edc25e8607e0
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
For some time critical tasks, the thread priority
might need to be upgraded to Real-Time Thread
priority level. Expose an interface from APR layer
so that clients can vote for a priority upgrade
whenever needed.
Change-Id: Ieb4afa914905750eccdf7672020a8751fdcf6462
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Add boundary checks for APR port received from ADSP.
CRs-Fixed: 2143207
Change-Id: I9a7fa39ee223e1859323caa6eb74c1c8a26a041d
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Based on where the code is synced the driver should allow
both static and dynamic linked compilation.
Also remove __exit for modules loaded from another common
init/exit functions.
Change-Id: Ib58f152002aba3af4446f9bbd9b82c279212bd0a
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
Update make files to extend dlkm support for qcs605
Change-Id: Icf736fb66ca12966f4c6cd72bb906eb32899868a
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Switch to DLKM for all audio kernel modules.
Change-Id: I6a96023a21f655f873531af9ace81f2b01eb0f58
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Add EXPORT_SYMBOL to symbols used by codec driver.
Codec driver is built as separate module and requires
symbols called to be exported.
Change-Id: I3d1bc6c8cbfc1b92f790b700ecfeaff211ddcff0
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
If userspace sends non-null terminated channel name then
out of bounds read is possible while printing channel name.
Fix this issue by validating channel name before use.
Change-Id: Ide270a54be14b280e87360836a0fad1302075660
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
There is a chance that glink channel memory pointer is used
after free if WDSP_REG_PKT and WDSP_CMD_PKT are received at
the same time from different threads. Fix this issue by
initializing glink link state to GLINK_LINK_STATE_DOWN.
Also limit error logs to avoid watchdog timeout issues.
Change-Id: I07c4e6f12eb057405eb59f1c0d04b890fa964ce8
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Propagate the changes based on latest snapshot
for audio kernel source tree at below cutoff of
kernel msm-4.9 -
(040750bfa78 -
"Revert "ARM: dts: msm: Add DT node for aop-qmp
clock controller on SDM845 v2"")
CRs-Fixed: 2104096
Change-Id: I0927c40b3a188dbf892e7ec4c1c7810953724929
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Pick the WDSP-Glink and avtimer drivers from 4.9 kernel
at below cutoff -
(80be7d6a313 - "msm: ADSPRPC: Fix for NULL pointer dereference")
This changes are done to migrate wdsp-glink/avtimer drivers
to this new audio kernel techpack.
Also remove the CDSP loader from techpack audio as it is
non-audio related.
Change-Id: I4f55429c5cbcd24920fdcb8eb2fe3aec02af320e
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>