커밋 그래프

2720 커밋

작성자 SHA1 메시지 날짜
Linux Build Service Account
acc2efac70 Merge "asoc: lahaina: Fix compilation issues when DEBUG_FS is disabled" into audio-drivers.lnx.5.0 2020-04-16 02:09:59 -07:00
Linux Build Service Account
29eea04338 Merge "ASoC: swr-haptics: Update playback sequence" into audio-drivers.lnx.5.0 2020-04-16 01:08:46 -07:00
Linux Build Service Account
a2531a80df Merge "asoc: bolero: Update mask of wsa macro" into audio-drivers.lnx.5.0 2020-04-16 01:08:39 -07:00
Linux Build Service Account
65af65b19d Merge "asoc: bolero: Update fs_clk gen for va macro" into audio-drivers.lnx.5.0 2020-04-16 01:07:52 -07:00
Laxminath Kasam
b4d55c7149 asoc: bolero: Update mask of wsa macro
Update mask of wsa macro to apply sample rate
as per config send during hw_params at powerup.

Change-Id: Icf9b40fecf655c06cc60d56ac31808e886f8a49d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-10 10:50:00 -07:00
Sudheer Papothi
caee8e2f5a ASoC: swr-haptics: Update playback sequence
Update haptics playback sequence to properly disable the soundwire
ports during the teardown path.

Change-Id: Ic6f23c8dae172104f8ae4659293b5ec6ce4ffa1f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-04-10 02:27:26 +05:30
Vatsal Bucha
e76174a384 va-macro: Add autosuspend after pm_runtime_get_sync
If va_macro_tx_va_mclk_enable returns error,
va macro autosuspend will not be called.
Add autosuspend before return.

Change-Id: Iea3728fab2d240514ca4a7e02ef535edce977ee8
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-09 03:59:28 -07:00
Laxminath Kasam
9daf376ebb asoc: bolero: Update fs_clk gen for va macro
Enable and disable FS_CLK gen at every
mclk enable and disable call to handle
fs_clk gen count.

Change-Id: I87e1cf112a48029cf0d6e7227fcc5167e973fdad
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-09 03:57:10 -07:00
Prakruthi Deepak Heragu
6b2d8c3234 asoc: lahaina: Fix compilation issues when DEBUG_FS is disabled
Fix the compilation issues in audio drivers when CONFIG_DEBUG_FS
is disabled.

Change-Id: I6eeb2b36b054ba30431f7b045c182888997dc331
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-04-09 00:29:51 -07:00
qctecmdr
d5de97eac9 Merge "ASoC: codecs: remove swr dmic driver ops" 2020-04-08 21:02:10 -07:00
qctecmdr
4ec39896a8 Merge "dsp: Add support for EOS V2" 2020-04-08 21:02:09 -07:00
qctecmdr
4753bad23a Merge "asoc: fix kernel panic due to Non-NULL ac" 2020-04-08 21:02:09 -07:00
qctecmdr
32b258e75c Merge "asoc: codecs: Add support for rouleur codec" 2020-04-08 21:02:09 -07:00
qctecmdr
e1757aef95 Merge "ASoC: msm-routing: Add lock in lsm_app_type_cfg_control callbacks" 2020-04-08 21:02:09 -07:00
qctecmdr
747b3bd81b Merge "asoc: wcd937x: Fix compile error in wcd937x codec driver" 2020-04-08 21:02:09 -07:00
qctecmdr
e076f26b13 Merge "asoc: bolero: Update dmic clk_div for bolero 2.x" 2020-04-08 21:02:09 -07:00
qctecmdr
e09440edd9 Merge "asoc: wsa881x-analog: Disable MCLK if clk enabled state" 2020-04-08 21:02:09 -07:00
qctecmdr
79a655928a Merge "ASoC: Remove glitch during amic record" 2020-04-08 21:02:08 -07:00
qctecmdr
ee9e37d20a Merge "asoc: Set and get lsm port indices on a per session basis" 2020-04-08 21:02:08 -07:00
qctecmdr
595a926d4f Merge "ASoC: wcd938x: Update hardware sequence for LDOL voltage" 2020-04-08 21:02:08 -07:00
qctecmdr
457a39d314 Merge "dsp: Avoid configuring PSPD channel mixer if PSPD is already configured" 2020-04-08 21:02:08 -07:00
qctecmdr
0dff7642d5 Merge "ASoC: add echo ref support for SENARY MI2S TX" 2020-04-08 21:02:08 -07:00
qctecmdr
cf288a8764 Merge "ASoC: Add doa tracking params only for LE platforms" 2020-04-08 21:02:07 -07:00
qctecmdr
26cced1678 Merge "ASoC: bolero: Fix higher btn press noise issue" 2020-04-08 21:02:07 -07:00
qctecmdr
001e75d77d Merge "ASoC: wcd-mbhc: Disable micbias internal pull-up after headphone detected" 2020-04-08 21:02:07 -07:00
qctecmdr
d8e4021c58 Merge "ASoC: Add flag to enable doa tracking params for LE" 2020-04-08 21:02:07 -07:00
qctecmdr
621a087b4e Merge "ASoC: bolero: check clock source before clock switch" 2020-04-08 21:02:07 -07:00
qctecmdr
14f4f909da Merge "dsp: Add FFECNS Freeze event support" 2020-04-08 21:02:07 -07:00
qctecmdr
253aecaacb Merge "ASoC: Add FFECNS Freeze event support" 2020-04-08 21:02:07 -07:00
qctecmdr
dfdd0d31d2 Merge "dsp: adm: increase the length of timeout in adm_open to 2 seconds" 2020-04-08 21:02:07 -07:00
qctecmdr
ada8071b43 Merge "ASoC: bolero: Resolve handset record not resuming after PDR" 2020-04-08 21:02:07 -07:00
qctecmdr
bd70c6e360 Merge "dsp: voice: Remove common lock before sending unmap command" 2020-04-08 21:02:07 -07:00
qctecmdr
db7ff12b0c Merge "ASoC: wcd938x: Fix headset detection during SSR/PDR" 2020-04-08 21:02:07 -07:00
qctecmdr
347e39ed9c Merge "asoc: bengal: Avoid island config to afe for sva disable variant" 2020-04-08 21:02:07 -07:00
Laxminath Kasam
43fd112a6b asoc: wsa883x: Fix SSR mute on speaker
During SSR/PDR, bring down wsa at down
event and restore after SSR up event.

Change-Id: I9a8d3c109144cb0a911cd7597bffc220b0ce95b7
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-06 19:39:09 -07:00
Ajit Pandey
a4804c7337 ASoC: msm-routing: Add lock in lsm_app_type_cfg_control callbacks
Add routing_lock mutex to protect global variables in _get() & _put()
callback of Listen App Type Config mixer control.

Change-Id: I6857a6e72dcb7f21633919b716910577af4906d2
Signed-off-by: Ajit Pandey <ajitp@codeaurora.org>
2020-04-04 10:36:00 -07:00
Laxminath Kasam
cc2aada378 asoc: wsa881x-analog: Disable MCLK if clk enabled state
In WSA analog driver, disable MCLK only if clock enabled.

Change-Id: I3a6aa42dc258e3c6ad1ceccdf74f0136338d79b2
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-04 10:31:31 -07:00
Laxminath Kasam
b9478f5c55 asoc: bolero: Update dmic clk_div for bolero 2.x
For bolero 2.x, update dmic clk_div to use 1.2M
instead of 600k if non-island usecase.

Change-Id: Ia057283c164de576cfd05f4c64f6db24db589ead
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-03 07:27:53 -07:00
Ramu Gottipati
f2438f0d93 dsp: Avoid configuring PSPD channel mixer if PSPD is already configured
Observing audio glitch issue while trying to apply PSPD
channel mixer coefficients for already applied COPP port.
To fix this, added check condition to retun 0 without
applying PSPD.

Change-Id: I3825cacfd888f153144cc5d73eb274f4fbf5d8bc
Signed-off-by: Ramu Gottipati <ramug@codeaurora.org>
2020-04-02 23:51:34 -07:00
Sudheer Papothi
49f16768f6 ASoC: wcd938x: Update hardware sequence for LDOL voltage
Update wcd938x codec hardware sequence for LDOL voltage.

Change-Id: I863c0832277d3d0533cdd97f15d1576c47cc4d1e
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-04-02 23:50:57 -07:00
Vatsal Bucha
271dbe101b ASoC: Remove glitch during amic record
Glitch is coming sometimes during amic record.
Correct sequence to resolve the glitch.

Change-Id: I3c062632229826f6fe32e2f1ea9e07381c21d902
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-02 22:28:39 -07:00
Aditya Bavanari
33b2108fd6 asoc: Set and get lsm port indices on a per session basis
When multiple LSM sessions are running, lsm port index might
be overwritten with index of different sessions during
concurrent LPI and Non LPI session switches. Maintain
lsm port index on a per session basis to avoid this issue.

Change-Id: I943ea7899b977e06f467a140a9d1c9feb31c58bd
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-04-02 22:27:53 -07:00
Vignesh Kulothungan
3b2c9ef792 ASoC: codecs: remove swr dmic driver ops
Remove soundwire driver ops to avoid deadlock during audio 
sub system restart. 
Handle SWR DMICs enable/disable during usecase.

CRs-Fixed: 2648763
Change-Id: I73cc95ae389da9dee742544f29ceca9d9b7ac9c6
2020-04-02 17:38:04 -07:00
Vignesh Kulothungan
57fb56c8d3 ASoC: add echo ref support for SENARY MI2S TX
Add SENARY_MI2S_TX to ec_ref_rx and ext_ec_ref_rx so
it can be used for Audio EC reference and Voice
external EC reference.

CRs-Fixed: 2576685
Change-Id: I08253e705f26293255eea41140fd3461ee300b6b
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-04-02 16:57:12 -07:00
Vatsal Bucha
7ceafae61e ASoC: Add doa tracking params only for LE platforms
Doa tracking params are applicable only for LE platforms.
Add respective check for the same. Also add config to
enable doa params for LE.

Change-Id: Ia8c2fd095deb44a3dd0b958da0b73c94dbc7d819
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-01 17:16:18 -07:00
Vatsal Bucha
1111e93af1 ASoC: bolero: Fix higher btn press noise issue
There is higher noise during headset btn press on some
headsets. Change hold time after button release to 600ms
to resolve the noise.

Change-Id: I87e5e13ce39849090da3d3e50ec53e7fd5fdc0e7
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-01 17:13:02 -07:00
Vatsal Bucha
70f9ed72bb ASoC: Add flag to enable doa tracking params for LE
Add DOA_PARAMS_ENABLED flag to enable tracking params for LE.

Change-Id: I54f40a72338ab09e43d002d19c74f845c5afcd49
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-01 13:05:28 -07:00
Ramu Gottipati
f36ffb140a dsp: Add FFECNS Freeze event support
Add support to send ffecns freeze event

Change-Id: I73bc6ff8c091427ddb398ae11c95f19c36e904b6
Signed-off-by: Ramu Gottipati <ramug@codeaurora.org>
2020-04-01 13:03:54 -07:00
Ramu Gottipati
85be556200 ASoC: Add FFECNS Freeze event support
Add mixer control support to send ffecns freeze
event.

Change-Id: I86bfd27aac312f85ebbde1f35ff4f65f589c6fec
Signed-off-by: Ramu Gottipati <ramug@codeaurora.org>
2020-04-01 13:03:08 -07:00
Meng Wang
d114234b61 dsp: adm: increase the length of timeout in adm_open to 2 seconds
Currently, the length of timeout in adm_open for waiting response
from ADSP is 1 second. To prevent unnecessary timeout that results
adm_open failure, increase the length of timeout to 2 seconds.

Change-Id: I670f44964538c3176130c4bb5f8b7a3b3eaf8d8b
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-04-01 13:02:15 -07:00