提交線圖

2350 次程式碼提交

作者 SHA1 備註 日期
qctecmdr
fd4cc74d9f Merge "asoc: codecs: fix compile error for bengal_32" 2019-11-12 03:10:23 -08:00
Aditya Bavanari
f5ec84824d dsp: fix MFC config param payload alignment issue
MFC set param failed in DSP due to payload mismatch
and stereo echo reference doesn't work.
Channel type parameter in MFC config payload is an
array of uint16_t, but it is assumed as an array
of uint8_t while copying from device structure.
Fix this by copying the channel type one by one
instead of using memcpy.

CRs-Fixed: 2197468
Change-Id: I4b6959e8db56743ac98da75ddc3aa8f56964b4ca
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-11-07 23:18:53 -08:00
qctecmdr
8ae27622e7 Merge "ASoC: wcd937x: Fix audio distortion issue during headset record" 2019-11-07 01:08:59 -08:00
qctecmdr
4436361d36 Merge "asoc: routing: Add route controls for RX_CDC_DMA_RX_1" 2019-11-07 01:06:59 -08:00
Laxminath Kasam
5b1458d315 asoc: codecs: fix compile error for bengal_32
For bengal_32 local compile fails. Update
the condition check in make to avoid compile
of wsa and hdmi modules for bengal, bengal_32.

Change-Id: I90db0a36b4c435874137d312545e3757f335fa78
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-05 05:06:39 -08:00
qctecmdr
d112152817 Merge "asoc: msm-dai: Add senary mi2s format control" 2019-11-05 02:40:12 -08:00
qctecmdr
3adccae508 Merge "ASoC: wcd-mbhc: Fix headset insert not detected after moisture config" 2019-11-01 21:30:24 -07:00
qctecmdr
8b3980d174 Merge "asoc: codecs: bolero: suspend swr at VA use case switch" 2019-11-01 21:30:24 -07:00
qctecmdr
521c66c14c Merge "asoc: codecs: bolero: toggle zero gate for first hpf update" 2019-11-01 21:30:24 -07:00
qctecmdr
0098ac9c7b Merge "asoc: Add new mixer control to reset ecns" 2019-11-01 21:30:24 -07:00
qctecmdr
6ad0cc614e Merge "asoc/dsp: add tert_tdm_tx_0 port for lsm support" 2019-11-01 21:30:24 -07:00
Vatsal Bucha
a9675d1a5d ASoC: wcd937x: Fix audio distortion issue during headset record
Audio is distorted during first 3 secs on headset record
while doing device switch from dmic to headset mic.
Disable BCS before slow insertion detection and enable it
afterwards to resolve the issue.

Change-Id: Icb18a0b5decb0c0bd9959bce7cced70a27566d41
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-11-01 03:15:36 -07:00
Laxminath Kasam
dcf2ab2380 asoc: routing: Add route controls for RX_CDC_DMA_RX_1
Add controls required for RX_CDC_DMA_RX_1 used for
AUX speaker path in bengal target.

Change-Id: Ia7ec59b19960e3c3f3a844406671303f72787bc1
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-01 15:33:47 +05:30
qctecmdr
2e421b5771 Merge "asoc: bolero: Update SWR TX moved to AO region" 2019-10-30 10:44:38 -07:00
qctecmdr
ec6cd57ba0 Merge "asoc: codecs: Update VA/TX controls based on bolero version" 2019-10-30 10:39:18 -07:00
qctecmdr
5797597129 Merge "asoc: codecs: bolero: do not perform soft reset" 2019-10-30 10:34:51 -07:00
qctecmdr
16ded023c7 Merge "asoc: bolero: Update version query for bolero 2.1" 2019-10-30 10:33:11 -07:00
qctecmdr
994b108f6e Merge "asoc: Add check for valid backend index" 2019-10-30 10:32:16 -07:00
qctecmdr
17923a3092 Merge "ASoC: Add routing for quin tdm tx and voice controls" 2019-10-30 10:29:58 -07:00
qctecmdr
137583f46f Merge "soc: soundwire: change ssp period based on frame shape" 2019-10-30 10:26:57 -07:00
qctecmdr
0064cf4db8 Merge "ASoC: wcd938x: Disable ADC mode for tx at power down after record" 2019-10-30 10:24:20 -07:00
qctecmdr
de37293915 Merge "dsp: Fix NOC error from lpass on accessing LPASS_AVTIMER_LSB" 2019-10-30 10:22:37 -07:00
Guodong Hu
395166b04b asoc/dsp: add tert_tdm_tx_0 port for lsm support
Add backend port: TERT_TDM_TX_0 to support
"LSM Mixer", "LSM Port" and "LSM Function"
mixer controls.

Change-Id: I86d83ba96ee79bbffef4aee2f31a6d16eb09d78f
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2019-10-29 10:38:18 -07:00
Meghana Reddy Mula
58b05be4ab asoc: Add new mixer control to reset ecns
Add support for mixer control to enable/disable
ecns module for voice call.

Change-Id: Icd046e936b0ae0db577e46e139b4f060e0cc7462
Signed-off-by: Meghana Reddy Mula <mmula@codeaurora.org>
2019-10-29 16:05:59 +05:30
Meghana Reddy Mula
6420f70b2d dsp: Add new mixer control to reset ecns
Add support for mixer control to enable/disable
ecns module for voice call.

Change-Id: I085411c4a6394d27880f8055b3348c1eb5f2b6ff
Signed-off-by: Meghana Reddy Mula <mmula@codeaurora.org>
2019-10-29 16:04:27 +05:30
qctecmdr
5a11838d7b Merge "ASoC: Add DTMF support for Audio usecase" 2019-10-25 05:44:29 -07:00
qctecmdr
b8f7df5cfa Merge "asoc: msm: Add 32bit support for mi2s" 2019-10-25 05:43:24 -07:00
qctecmdr
e5345cce2c Merge "asoc: codecs: Add wakeup register update for chip register" 2019-10-25 05:42:34 -07:00
qctecmdr
fb0d3c39be Merge "asoc: codecs: Avoid spi data transfer during suspend" 2019-10-25 05:41:58 -07:00
qctecmdr
8461ad4010 Merge "AsoC: Add mixer controls for incall music delivery" 2019-10-25 05:40:20 -07:00
qctecmdr
0cbb7f2749 Merge "ASoC: wcd-mbhc: Fix null pointer dereference for mbhc" 2019-10-25 05:38:57 -07:00
qctecmdr
80870fbc90 Merge "ASoC: Fix audio distortion issue during headset record" 2019-10-25 05:37:28 -07:00
qctecmdr
0c5dd6fd10 Merge "asoc: fix audiodlkm compile error on sa8195 perf" 2019-10-25 05:35:37 -07:00
Vatsal Bucha
7b663b23b2 ASoC: wcd-mbhc: Fix headset insert not detected after moisture config
Headset insertion is not detected after moisture is configured and then
removed. This is because during moisture_detect GND_DET_EN is configured
irrespective of whether it is enabled or not. Add a check before enabling
gnd_det_en. Also as moisture_en is disabled and duty cycle is enabled
change check during removal to disable threshold and polling.

Change-Id: Iee9d79b38b228e78d1509d59e92d37f1328f079e
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-10-25 00:47:21 -07:00
Sudheer Papothi
ac0ae1c298 soc: soundwire: change ssp period based on frame shape
Change SSP period based on soundwire bus clock rate and frame shape
to avoid any synchronization issues.

Change-Id: I376958c6b92eca28b857c4c7c9948b1e56818657
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-10-25 10:16:33 +05:30
Karthikeyan Mani
9810a5cc92 asoc: codecs: bolero: suspend swr at VA use case switch
While switching from a VA use case, suspend the soundwire
immediately so that if the next use case switches clock
soundwire will also be reset.

Change-Id: I18b65a01bc02329e9a53de93c0ccfb621c95a1f4
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-10-24 11:00:40 -07:00
qctecmdr
f277ee3154 Merge "soc: swr-mstr: remove soundwire state check in interrupt handler" 2019-10-23 05:21:31 -07:00
Vatsal Bucha
6bb56f382b dsp: Fix NOC error from lpass on accessing LPASS_AVTIMER_LSB
avcs_core_query_timer_offset can be called from external ioctl
while avtimer clk count is 0. This can result in a NOC while
reading avtimer register. Reset adsp_ready if avtimer clk count
is 0 to resolve the issue.

Change-Id: I3d088c306f4895a2fee68f2ac95ea6ad96094ea1
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-10-23 05:10:53 -07:00
qctecmdr
8393ea841a Merge "asoc: msm-pcm: move null ptr check after lock" 2019-10-23 05:03:17 -07:00
qctecmdr
111c029686 Merge "dsp: lsm: move lsm_common deregister out of mutex_lock" 2019-10-23 05:00:17 -07:00
qctecmdr
61793bf902 Merge "dsp: q6voice: Reset dma_buf pointer to NULL in case of failure" 2019-10-23 04:57:35 -07:00
qctecmdr
88faaba9d0 Merge "asoc: wsa881x-analog: Defer wsa probe until mclk node available" 2019-10-23 04:52:53 -07:00
qctecmdr
cb0223f0d4 Merge "soc: soundwire: Add delay to over come race condition" 2019-10-23 04:47:27 -07:00
Guodong Hu
42658f4480 asoc: fix audiodlkm compile error on sa8195 perf
* To fix a compile error in sa8195 perf image:
  uninitialized variable in wcd_cpe_core.c.

Change-Id: I2aac81068299202509eebcb854c53348451c522b
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2019-10-22 10:05:18 -07:00
Laxminath Kasam
2e13d64340 asoc: bolero: Update SWR TX moved to AO region
In bengal target, SWR TX moved to AO region.
Update SWR TX as child of VA macro and handle
respective SWR register/clock sequences from
VA macro.

Change-Id: I6b632ce56a885f2ccc8516840b0e5d270fe0b2c0
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-10-22 15:29:58 +05:30
Laxminath Kasam
4651dcbbb0 asoc: codecs: Update VA/TX controls based on bolero version
Update route map, dapm widgets, snd controls for VA and
TX macros based on bolero version.

Change-Id: I6f517f2c243624d44601192295c50838c7ee0e05
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-10-22 15:21:25 +05:30
Laxminath Kasam
f1623021b1 asoc: bolero: Update version query for bolero 2.1
Expose API from bolero driver to retrieve version
info by macro drivers. Update bolero driver to
get version from dtsi.

Change-Id: Idc3735721de90ee4f74319537b17a530d3c125a6
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-10-22 15:20:01 +05:30
Vatsal Bucha
82aee8f928 ASoC: Add routing for quin tdm tx and voice controls
Add routing for quin tdm tx 0 to 3 and voice controls.

Change-Id: I39cb30e4a8eac556059aa156675e9afddd00f890
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-10-21 23:59:31 -07:00
Vatsal Bucha
fc40b33b24 ASoC: wcd-mbhc: Fix null pointer dereference for mbhc
IRQ data pointer is corrupted due to slimbus NGD errors.
This may happen as IRQ will be received from slimbus.
Check for mbhc null pointer before dereferencing to avoid crash.

Change-Id: I142ee535c6d643b53063b57c0f45414aff8b6304
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-10-22 12:22:04 +05:30
Karthikeyan Mani
35955cb60f asoc: codecs: bolero: do not perform soft reset
In event handler for soft reset, do not perform
soft resetting of the compander as this is not
the recommended sequence. Compander config
needs to be done only in interpolator enable
function.

Change-Id: I9bb1d493860adc924252827594219618f16309b0
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-10-21 12:02:33 -07:00