Commit Graph

685 Commits

Author SHA1 Message Date
Laxminath Kasam
0c85700fdb asoc: bolero: Fix wsa playback mute issue
Update volatile registers list of bolero
VA and WSA macros. Fix sequence for wsa mute
and register access in regmap read/write.

Change-Id: I7984f7e2309933536f3855f6fd4a2e2fd1c4d13b
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-19 11:50:26 +05:30
Linux Build Service Account
8a3699b9ac Merge "asoc: qcs405: update tasha codec dais" 2018-07-16 11:36:29 -07:00
Linux Build Service Account
34ef847a86 Merge "audio: uapi: Add kernel symlink dependency make-style" 2018-07-15 01:56:24 -07:00
Linux Build Service Account
eeb16c7b73 Merge "asoc: Enable VAD in QCS405" 2018-07-13 01:24:29 -07:00
Linux Build Service Account
d6750c1933 Merge "asoc: Add Hostless DAI for WSA CDC DMA Rx interface" 2018-07-12 09:59:51 -07:00
Linux Build Service Account
1ff7b2cd8e Merge "asoc: compilation fix for qcs403" 2018-07-12 09:59:47 -07:00
David Ng
5873163b9d audio: uapi: Add kernel symlink dependency make-style
Add kernel symlink creation $(KERNEL_USR) as make-style
dependency.  The LOCAL_ADDITIONAL_DEPENDENCIES flag in
place is not active for the generated-source mechanism.

Change-Id: I9b93679bf73cf28c244119ec34a440775579b18a
2018-07-11 13:56:22 -07:00
Mangesh Kunchamwar
2d84e4aedc asoc: Enable VAD in QCS405
Add AFE HW CAL dep node in config and fix the set sampling rate
for codec dma interface

Change-Id: I9165a80da00bfb5b61bbf4f0391ff794d8fba352
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-11 21:27:07 +05:30
Mangesh Kunchamwar
1603e0d72b asoc: compilation fix for qcs403
Fix compilation issue with qcs403 variant compilation

Change-Id: Iae877e1a1c3c81edd9c26c9bb143216e2d3550d6
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-11 19:19:18 +05:30
Mangesh Kunchamwar
91c2173c2f asoc: Add Hostless DAI for WSA CDC DMA Rx interface
Enable hostless DAI for WSA CDC DMA Rx interface for hands free
profile use case.

Change-Id: I3c4246414dc477cdad382b46a6dbe6770dc5b89e
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-11 15:43:02 +05:30
Mangesh Kunchamwar
2f39a329bf asoc: bolero: Bringup fixes for qcs405
Add bringup fixes for va-macro micbias property setting.

Change-Id: Ie1c35d8519f819bed227885e1c2a18e3de7fd82a
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-11 00:47:57 +05:30
Linux Build Service Account
ab8586d542 Merge "asoc: bolero: Bringup fixes in Vipertooth" 2018-07-09 20:42:38 -07:00
Linux Build Service Account
8e4d9058d3 Merge "ASoC: wcd934x: skip mutex lock for WDSP boot timeout debug dump" 2018-07-09 11:56:34 -07:00
Linux Build Service Account
d36e5ef530 Merge "dsp: Avoid excessive list iterations" 2018-07-09 11:56:34 -07:00
Linux Build Service Account
b09db5c08c Merge "asoc: msm-pcm-routing: add support for a2dp echo ref" 2018-07-09 11:56:33 -07:00
Mangesh Kunchamwar
a9c69199a7 asoc: bolero: Bringup fixes in Vipertooth
Add bringup fixes for bolero regmap and va-macro
micbias property setting.

Change-Id: I536b7bf6ff625da1f2f639a93cf1f9174cfd6447
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-09 09:16:20 -07:00
Linux Build Service Account
b73517def0 Merge "asoc: fix lsm_event_handler function type" 2018-07-09 08:32:03 -07:00
Surendar Karka
c31faba93b asoc: qcs405: update tasha codec dais
Updating tasha codec backend dai links.

Change-Id: I293685c44455ec3b8ed61af24ec6be06201bd2f6
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-09 16:52:21 +05:30
Zhou Song
b167db1aee asoc: msm-pcm-routing: add support for a2dp echo ref
Add support for a2dp echo reference for SVA. This is
used to cancel a2dp playback echo from voice activation
input samples.
When phone connects to A2DP speaker like car kit,
selecting A2DP as echo reference can have better VA
performance.

Change-Id: I287ded27421cbda9621f2b2846c3ec8350f080dc
Signed-off-by: Zhou Song <zhous@codeaurora.org>
2018-07-09 13:53:29 +08:00
Linux Build Service Account
25963c0e7c Merge "asoc: Fix compilation errors" 2018-07-07 16:10:24 -07:00
Linux Build Service Account
88691a4c53 Merge "asoc: qcs405: Add support for CSRA66X0 device" 2018-07-07 13:54:33 -07:00
Linux Build Service Account
029bb3d3aa Merge "asoc: codecs: codec driver support for CSRA66X0" 2018-07-07 13:54:32 -07:00
Linux Build Service Account
2781db307a Merge "lsm: miscellaneous fixes for multi-stage adsp VA" 2018-07-07 13:19:47 -07:00
Ramu Gottipati
d8d43d2490 asoc: Fix compilation errors
Compiler throwing compilation erros for uninitialized
variables. So, initialized with default error value.

Change-Id: I7d90e739ae8e174bfb4d2c50e5eead338b66fec9
Signed-off-by: Ramu Gottipati <ramug@codeaurora.org>
2018-07-07 23:32:38 +05:30
Mangesh Kunchamwar
ca8ac8a57a asoc: qcs405: Add support for CSRA66X0 device
Add support for CSRA66X0 amplifier to glue as
aux codec in asoc qcs405 machine driver

Change-Id: I3413a0df52149da84c05d703226a3845119ab8b2
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
Signed-off-by: Srikanth Katta <skatta@codeaurora.org>
2018-07-07 19:14:08 +05:30
Linux Build Service Account
81e65923e6 Merge "asoc: msm-pcm-routing: Add TDM ext ec ref route" 2018-07-06 16:13:00 -07:00
Linux Build Service Account
f247ce1f32 Merge "ASOC: dsp: add spin_lock for q6asm_add_hdr" 2018-07-06 14:46:26 -07:00
Dhananjay Kumar
66ae4136f5 lsm: miscellaneous fixes for multi-stage adsp VA
Fix compilation warnings from multi-stage VA code changes.
Correct sound model param size value to avoid failure from
second stage sound model registration.

Change-Id: I7f589f0ddece167233b61236b3e5b6585927f62d
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
2018-07-07 01:36:05 +05:30
Linux Build Service Account
4fae34670a Merge "asoc: ext-clk: Allow clock probe without pinctrl for lpass nodes" 2018-07-06 11:57:21 -07:00
Linux Build Service Account
d343fb9b16 Merge "include: dsp: avoid returning error code from stubbed function" 2018-07-06 11:57:20 -07:00
Mangesh Kunchamwar
82f6168cf5 asoc: codecs: codec driver support for CSRA66X0
Codec driver to support direct digital
feedback amplifier (DDFA) CSRA66X0

CRs-Fixed: 2248380
Change-Id: I0aa1b5a2b6e18b6d2dcd5393a10b7d4aebb570e5
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-06 18:27:57 +05:30
Linux Build Service Account
ea019144a4 Merge "dsp: add null check for temp handle" 2018-07-05 14:33:28 -07:00
Linux Build Service Account
a54f5e3777 Merge "asoc: wcd-dsp-mgr: clear work queue for wcd dsp manager" 2018-07-05 14:33:17 -07:00
Vignesh Kulothungan
96ba1625dc dsp: Avoid excessive list iterations
Exit list iteration after the required conditions
for the loop has been satisfied to avoid additional
list iteration.

Change-Id: I96872d3be469420e613ec0244588a0a8ecb50e58
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-07-05 11:40:48 -07:00
Banajit Goswami
f1f4a2982f include: dsp: avoid returning error code from stubbed function
If MSM_QDSP6_NOTIFIER is not enabled for a target, audio_notifier
feature will not be available for that target. Whenever a call is
made to audio_notifier when its not supported, returning error from
stubbed function may confuse the error with real failure (even though
the feature is not enabled on the target). Avoid returning error code
from stubbed function, when feature is disabled.

Change-Id: I37eb2e25e45b25948aff55f2a231195a22b16f05
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2018-07-05 11:09:56 -07:00
Gerrit - the friendly Code Review server
7289b0b631 Merge changes into audio-drivers.lnx.3.0 2018-07-04 06:23:07 -07:00
Linux Build Service Account
381d1d89bc Merge "asoc: config: support for CSRA66X0 device" 2018-07-04 06:18:16 -07:00
Linux Build Service Account
cbf2533f95 Merge "ASoC: msm-pcm-routing: Add mixer control for AANC noise level" 2018-07-04 06:18:15 -07:00
Meng Wang
d1942a26d8 dsp: add null check for temp handle
Variable mem_state in audio client(ac) is set to zero
when there is a successful memory mapping. However the
same variable is updated for various mapping commands.
Ensure to check for both memstate and specific mem_handle
to be updated in the wait condition to wake up the right
waiting command.

Change-Id: Iabba61cef0a90f636de50e9d27eecf886dc59a27
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-07-03 17:48:02 -07:00
Meng Wang
9836489e23 asoc: wcd-dsp-mgr: clear work queue for wcd dsp manager
wdsp_mgr_bind would schedule work to load wdsp firmware.
Before loading wdsp firmware, sound card registeration may fail.
wcd_dsp_cntl_deinit would get called to free cntl which would be used
in wdsp_load_fw_image which would cause kernel panic.
Clear work queue in wdsp_mgr_unbind to avoid kernel panic.

Change-Id: I6c052fa8ea1ff62a8b075ba191085612242a5005
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-07-03 12:23:37 -07:00
Linux Build Service Account
5ee446ca78 Merge "asoc: mbhc: ignore mbhc event report during ssr" 2018-07-03 11:46:02 -07:00
Meng Wang
d5d1092c0c ASOC: dsp: add spin_lock for q6asm_add_hdr
During SSR, ac could get freed after unlock the session lock
during the execution of q6asm_callback. If we try to get the
ac->cmd_lock after ac freed, kernel panic happens.
Remove mutex_lock in reset_event to avoid kernel panic.
Add spin_lock_irqsave in q6asm_add_hdr and change spin_lock to
spin_lock_irqsave in q6asm_callback to add synchronize between
q6asm_add_hdr and q6asm_callback to avoid kernel panic.

Change-Id: I72cf959fe6a764920a13d565c72243a80ac4f236
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-07-03 08:34:46 +08:00
Linux Build Service Account
928c67e56e Merge "rtac: Add mutex protection for rtac cal apis" 2018-07-02 12:39:49 -07:00
Sudheer Papothi
c07b37a4c3 ASoC: msm-pcm-routing: Add mixer control for AANC noise level
Add mixer control for AANC noise level to control AANC noise
level from userspace when AANC functionality is enabled.

Change-Id: Id47b77e054008853e5b5ddb0e9cc126626b407b8
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-07-03 00:42:00 +05:30
Karthikeyan Mani
3dd07e6937 asoc: mbhc: ignore mbhc event report during ssr
When ssr is in progress, during some race conditions
mbhc events are getting reported when codec is still
coming up. Ignore such events without reporting.

Change-Id: I3d3f78f97c2b855fc36a480f38c166bda2d979f0
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-07-02 11:22:40 -07:00
Mangesh Kunchamwar
e5e322cff0 asoc: config: support for CSRA66X0 device
Add config for CSRA66X0 device to be enabled in QCS405

Change-Id: I3cddb26fa7ebb03da89113d7f051b25d614c9ad0
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-02 18:51:46 +05:30
Linux Build Service Account
ec7e65b420 Merge "dsp: preload voice and copp topologies" 2018-07-01 10:20:31 -07:00
Linux Build Service Account
d59771fc30 Merge "dsp: msm_audio_ion: check only for probe complete for ION alloc" 2018-07-01 10:20:31 -07:00
Xiaojun Sang
353723e8e0 ASoC: wcd934x: skip mutex lock for WDSP boot timeout debug dump
In the case of WDSP boot timeout, api_mutex and ssr_mutex have already
been acquired. There is no need to do mutex lock again during debug dump.
Check the signal enum to see if it's the internal WDSP boot timeout case.

Change-Id: I6fe5e77b1bff72ed5ad463bb1df76c6b02c84c92
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2018-06-29 17:17:22 -07:00
Linux Build Service Account
5aa93412f6 Merge "asoc: fix for applying parameters for codec dma" 2018-06-29 13:30:06 -07:00