Commit graph

3,632 commits

Author SHA1 Message Date
qctecmdr
f8b4b87d8b Merge "dsp: update size check for get VI param function" 2021-03-11 10:16:11 -08:00
qctecmdr
1e9f85edf3 Merge "ASoC: Enable gain ctl of display port hostless playback" 2021-03-11 10:16:10 -08:00
qctecmdr
2e51c87fc7 Merge "asoc: qcs405: Update clk src string from dts" 2021-03-09 09:41:00 -08:00
qctecmdr
82ecd917d7 Merge "asoc: makefile: remove audiodlkm headers install in makefile" 2021-03-03 21:46:20 -08:00
qctecmdr
eca4af349c Merge "asoc: wsa883x: Update OTP_REG_0 as volatile reg" 2021-03-03 21:46:20 -08:00
qctecmdr
3ae0fd9f44 Merge "ASoC: wcd937x_slave: Add retry while getting logical addr for wcd937x slave" 2021-03-03 21:46:20 -08:00
qctecmdr
a1ba6206ad Merge "asoc: refine the probe for loopback devices" 2021-03-03 21:46:20 -08:00
Vatsal Bucha
f22f468a91 ASoC: Enable gain ctl of display port hostless playback
Enable gain ctl of display port hostless playback.

Change-Id: I7beb64a657db7349ad5c3ed374389564cf68bfea
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2021-03-02 02:47:51 -08:00
qctecmdr
94a768cf5c Merge "asoc: bolero: Update PCM_RATE based delay for amic" 2021-02-28 23:33:31 -08:00
Vatsal Bucha
c455f79f85 ASoC: wcd937x_slave: Add retry while getting logical addr for wcd937x slave
Add retry while getting logical addr for wcd937x slave.

Change-Id: Iff3f6a071c13f8bdccc72da69e95432be2d4f90a
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2021-02-28 21:30:17 -08:00
Guodong Hu
55f68af3b7 asoc: makefile: remove audiodlkm headers install in makefile
audiodlkm headers should be installed in audiodlkm*.bb do_insatll().
Only in this way, the DEPENDS can work for other recipes
in sstate cache condition.

If the headers are installed via audiodlkm do_compile(),
recipes depend on audiodlkm will fail
in audiodlkm sstate cache enabled condition.

Change-Id: Ieeb2fc8cd772e8cf239be74bb2021283bacb658a
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2021-02-28 17:25:52 -08:00
Guodong Hu
0433734505 asoc: refine the probe for loopback devices
msm_pcm_loopback_probe should be conducted only for
normal loopback devices, not low-latency.

And such kcontrol should not be added twice.

Change-Id: Iaab631019b5b964473bfaebade0697eb7c4373e7
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2021-02-28 17:25:35 -08:00
qctecmdr
258bb5db28 Merge "asoc: Add support for display port hostless fe" 2021-02-26 09:34:15 -08:00
qctecmdr
877781d540 Merge "ASoC: remove unnesssary log message for virtual port" 2021-02-26 09:34:15 -08:00
Laxminath Kasam
0a21bc23e0 asoc: wsa883x: Update OTP_REG_0 as volatile reg
For WSA variant info is available in this register
OTP_REG_0. Make it volatile read-only register
to always read from hardware.

Change-Id: I1c543875748d08304b4abe6c73594bc116d08c6d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2021-02-26 13:47:17 +05:30
Kunlei Zhang
7a4d8574ec dsp: update size check for get VI param function
In afe_get_cal_sp_th_vi_param functions, data size
should check with size of cal_type_header. The check
is not present which might lead to out of bounds access.

Update condition to ensure data_size is greater than
or equal to size of cal_type_header.

Change-Id: Ib2904f53243f4fb858131511812fd90de32b4656
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
2021-02-26 16:00:20 +08:00
qctecmdr
e514776d95 Merge "dsp: adm: avoid FNN model memory unmap when closing non-FNN port" 2021-02-22 21:31:40 -08:00
Soumya Managoli
9908997a77 asoc: bolero: Update PCM_RATE based delay for amic
The PCM_RATE bit field in LPASS_TX_CDC_TXn_TX_PATH_CTL
ranges from 0 to 6.
In the current implementation of tx-macro, the value
read is mapped directly to the sample rate instead of
the indices. Change is to correct this.
Add the delay based on pcm_rate in va-macro as well.

Change-Id: I6cb7e58e71f2a25356608611f1dfed83171706f6
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
2021-02-22 13:31:03 +05:30
Fei Tong
766e9afba0 ASoC: remove unnesssary log message for virtual port
Remove unnessary log message for virtual port or it will print a lot of error
message while driver work normal.

Change-Id: Ie8d6e955fc4eaeda169bb92bdc58769c9c005a4e
Signed-off-by: Fei Tong <ftong@codeaurora.org>
2021-02-22 15:20:25 +08:00
Laxminath Kasam
135182a25f asoc: Add support for display port hostless fe
Add DP port hostless frontend for port mixer usecases.

Change-Id: I54fe24731efd592d2c1867e9a878be57e5ebbd52
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2021-02-18 11:49:13 +05:30
qctecmdr
0fbe6935e5 Merge "asoc: add missed routing for Multimedia31" 2021-02-11 20:36:33 -08:00
qctecmdr
fc6c5e98b8 Merge "asoc: modify the ref_count check for substream" 2021-02-11 20:36:32 -08:00
Kunlei Zhang
677ccd1b56 dsp: adm: avoid FNN model memory unmap when closing non-FNN port
In VoIP FNN and audio record concurrence, FNN model shared memory
is wrong to unmap when audio record stop.

Fix it by checking FNN topology and app type to ensure the memory
is unmapped properly.

Change-Id: If24b6aa75d41b629a3ef33b9585d9d7d82aa9b25
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
2021-02-11 00:28:21 +08:00
qctecmdr
9735cce457 Merge "dsp: avoid start voice happens before unmap cal memory" 2021-02-07 10:02:18 -08:00
qctecmdr
b41ef9ba59 Merge "asoc: lahaina: add ch_mask check for CPS to avoid endless loop" 2021-02-04 22:20:09 -08:00
qctecmdr
6308e43e30 Merge "ASoC: wcd-mbhc: Check if mutex is locked before mutex destroy" 2021-02-04 22:20:08 -08:00
qctecmdr
3ef050a503 Merge "ASoC: shima: Resolve tmic mute during amic voice call" 2021-02-04 22:20:08 -08:00
Meng Wang
d6b23e660f asoc: add missed routing for Multimedia31
Add missed routings for Multimedia31.

Change-Id: I9135d95e045c612f636e4327d08bec97962b6fd4
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-02-05 09:05:57 +08:00
Deru Wang
c5892fccf6 asoc: modify the ref_count check for substream
These controls are used in both runtime and non-runtime.
The current ref_count check will block its use under non-runtime.

Change-Id: If98cf5e2c81e22818637b5c0e99764fbc0d08741
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
2021-02-04 21:43:37 +08:00
Kunlei Zhang
ad97f28e00 ASoC: shima: Resolve tmic mute during amic voice call
Change shima master port params to resolve tmic
mute during amic voice call.

Change-Id: I35cf71fe40896ad2887060f6734a7948438e5a66
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
2021-02-02 18:26:36 +08:00
Meng Wang
518713ffc8 asoc: lahaina: add ch_mask check for CPS to avoid endless loop
When ch_mask is 0, set_cps_config will enter endless loop. Add
check for ch_mask to avoid such endless loop.

Change-Id: Id2237d4f8070b2edaf3bc9690afa649e82a455f8
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-02-01 09:59:49 +08:00
qctecmdr
686f8554c5 Merge "ASoC: msm-pcm-routing: Add ctls for sec mi2s routing" 2021-01-29 22:21:50 -08:00
qctecmdr
0eff05d0aa Merge "apr_audio-v2: update dsp interface description" 2021-01-29 08:57:23 -08:00
qctecmdr
4df59ffdfd Merge "asoc: add audio driver markers for automotive platforms" 2021-01-29 08:57:23 -08:00
qctecmdr
0e4d1b62a9 Merge "asoc: msm: Add early chime marker" 2021-01-29 08:57:23 -08:00
qctecmdr
49599a35ee Merge "asoc: Add check to handle negative value passed for num_app_cfg_type" 2021-01-29 08:57:23 -08:00
qctecmdr
0d5cdbf2ac Merge "ASoC: Add sec mi2s frontend support for fm on yupik" 2021-01-29 08:57:23 -08:00
qctecmdr
e7a65a0fec Merge "dsp: Unload the BT modules when APR handle is NULL" 2021-01-28 00:08:06 -08:00
qctecmdr
5503ddcbda Merge "Revert "Merge "dsp: codecs: Synchronize the audio_aio_open and SSR event""" 2021-01-28 00:08:06 -08:00
Vatsal Bucha
b83f8c4c43 ASoC: wcd-mbhc: Check if mutex is locked before mutex destroy
Mutex destroy is called as part of wcd_mbhc_deinit during SSR
for hph pa lock when lock is taken resulting in warning. Check
if mutex is locked and unlock mutex before destroy so as to
remove warning.

Change-Id: I521903f9ab24222278d6fb3f349da18c98131c60
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2021-01-27 23:47:57 -08:00
Vatsal Bucha
efa38e7713 ASoC: Add sec mi2s frontend support for fm on yupik
As yupik has fm on sec mi2s, add corresponding dai for
sec mi2s.

Change-Id: I898126136499786f0bb76394269016b501114a57
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2021-01-27 19:05:06 +05:30
Vatsal Bucha
427c04347c ASoC: msm-pcm-routing: Add ctls for sec mi2s routing
Add ctls for sec mi2s routing.

Change-Id: I07c4ba132a27054d63f0e85624126f12539fa2d8
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2021-01-27 05:17:02 -08:00
Guodong Hu
001ede6ffd apr_audio-v2: update dsp interface description
64CH TDM group device is supported from:
ADSP.HT.5.1.c1-00095-SC8180X-1

Change-Id: If0240dd1dd4b4098ca25af0cf3456212d1f2b0a7
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2021-01-26 00:10:15 -08:00
qctecmdr
fc2cd3b04f Merge "asoc: swr-haptics: add control to set VMAX" 2021-01-25 09:25:40 -08:00
qctecmdr
b039c6f670 Merge "asoc: bolero: update correct register for IIR1 coefficient" 2021-01-25 09:25:40 -08:00
qctecmdr
3fab46ca41 Merge "asoc: swr-dmic: add ignore_suspend for VA widgets" 2021-01-25 09:25:40 -08:00
qctecmdr
5f54f2aae9 Merge "asoc: bolero: udpate MSM DMIC power up sequence to reduce pop" 2021-01-25 09:25:40 -08:00
qctecmdr
a3ea69b6e4 Merge "asoc: Update copy_to_user to requested buffer size" 2021-01-25 09:25:40 -08:00
Harshal Ahire
d914a0bc22 Revert "Merge "dsp: codecs: Synchronize the audio_aio_open and SSR event""
This reverts commit ed43bdaa54
reversing changes made to 53feb46e27.

Change-Id: Ic9fdc04d08c9bfd4b0be2f29c315e1602375bddd
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2021-01-21 21:37:08 -08:00
qctecmdr
95886d54c5 Merge "dsp: adm: change channel number for FLUENCE_NN_COPP_TOPOLOGY" 2021-01-21 09:53:28 -08:00