Add a new calibration type for audio volume
RTAC. Immeadiately apply audio volume
calibration when recieved.
Change-Id: I640297405087cb0450f4b5b2b4cec5daaf40dd68
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
Signed-off-by: vivek mehta <mvivek@codeaurora.org>
Add App type and ACDB ID from ADM to the audio
RTAC structure.
Change-Id: I3f7d48c8f7a0ed3c22c455465923d76ba179b971
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
Audio drivers use custom opcode value for notifying the clients
when ADSP goes into SSR. The custom value could conflict with a new
opcode value added by audio subsystem. Opcode values should be
generated using audio GUID tool, which will reserve a unique opcode
across entire audio stack.
This change updates the reset event opcode with value obtained from
offline GUID tool which should resolve any possible conflict issue.
Change-Id: I525f9dc8aa96901c3ffbdb06278bc178873b0db0
CRs-fixed: 699389
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Implement AFE get and set parameter interfaces. These new
interfaces are used to support AFE real-time calibration
through QACT tool as part of AANC tuning process.
Change-Id: Ieba57a9a79fae3906fb3cb7f59b00d221ad07738
Signed-off-by: Jay Wang <jaywang@codeaurora.org>
Add new IOCTLs to get and set ultrasound stream parameters in DSP
using shared memory.
Change-Id: I627e9e40e29c6233dab4295e2c355a718e30bd01
Acked-by: Hadar Sivan <hsivan@qti.qualcomm.com>
Signed-off-by: Lior Barenboim <liorb@codeaurora.org>
During subsystem restart, all the clients registered to the
processor must be serviced. Services are originally registered
on the basis of domain. Taking this into account for proper
cleanup.
Registration of services should also happen on the basis of
destination processor.
Signed-off-by: Avinash Vaish <avaish@codeaurora.org>
Change-Id: Idc98122f7cf2279d5733e58479699ee5fc55ab5b
Move ultrasound driver to comply with audio drivers location.
In addition, solve compilation errors when compiling with new
toolchain.
Change-Id: Ib8cd5e59111de826c0ed94d7facc51eef015ce52
Acked-by: Hadar Sivan <hsivan@qti.qualcomm.com>
Signed-off-by: Lior Barenboim <liorb@codeaurora.org>
Kernel has defined printk format specifiers and typedefs
for datatypes.
Using the format strings will remove need for typecasting.
This change cleans up audio msm drivers to use the kernel
defined data types and format specifiers for printk.
Change-Id: If6827137f1bfad802cb61aaa9d3e814b45124894
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Increase the maximum ports in APR. Some Apps may support
multiple clients which exceeds the number of clients
supported in APR. This change increases number of ports
used in APR upto 8 sessions.
Change-Id: I06624330845681b4414dd470ab7aed669d690ba0
Signed-off-by: Venkat Sudhir <vsudhir@codeaurora.org>
Architectural changes in the ARM Linux kernel require moving
some MSM specific headers related to the peripheral image
loader and the subsystem restart drivers to include/soc/qcom.
subsystem_restart.h is used by external modules and thus
leave a proxy in include/soc/qcom for now. Once external modules
switch over to this new include path, the header in the
old location can be deleted.
Change-Id: I0680dc34481d09170ce2609259c5318a9e6dbf37
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
This is needed as the drivers are registering under misc driver
but exists under arch/arm/mach
Change-Id: I9cd75901184a4fdff6f796019152bc6e29eed6c3
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>