Commit Graph

4105 Commits

Author SHA1 Message Date
Dechen Chai
7d924fc9d7 asoc: Update dai link for wsa codec dai.
wsa8815 using codec dai wsa-rx3 and wsa-rx4.
Add wsa8815 codec dai on dai link.

Change-Id: I11b892a92cf495085fc973381fcd0c000f3c04d4
Signed-off-by: Dechen Chai <quic_dchai@quicinc.com>
2022-05-13 12:54:33 +05:30
Shazmaan Ali
4de0f17990 asoc: codecs: Add nullptr check
fix for nullptr deref issue

Change-Id: I26acf2c5c696038c6d5c64d858174b2f2c58a7d3
Signed-off-by: Shazmaan Ali <quic_shazmaan@quicinc.com>
2022-05-11 06:27:07 -07:00
Kogara Naveen Kumar
a1f22acc7a Audio-kernel: Comparison of unsigned value
Make unsign value as sign value.

Signed-off-by: Kogara Naveen Kumar <quic_nkogara@quicinc.com>
2022-05-10 17:25:07 +05:30
Kogara Naveen Kumar
45a98639bc asoc : AFE Limiter module control
Changes to control AFE Limiter module

Change-Id: I39afe44c821a26ad9688a4a8e440637f5e49b85f
2022-05-09 23:35:50 -07:00
Dechen Chai
b8b9622047 soc: wsa881x: move analog init complete flag
move judging analog init complete flag to the beginning of
wsa881x_probe function.Avoid processing the wsa component
until wsa analog client init complete.

Change-Id: I606d3378e8533572f3949026565f4aea9e90ea47
Signed-off-by: Dechen Chai <quic_dchai@quicinc.com>
2022-05-05 18:57:09 -07:00
qctecmdr
4baeac42b1 Merge "asoc: Update machine driver for kona" 2022-04-28 04:20:19 -07:00
Kogara Naveen Kumar
241968ed8a kernel: Check for buffer overflow and NULL pointer
Added check point for buffer overflow and NULL pointer.

Change-Id: Ie675de3ad7e30b53424b2333370d9216d4abdfca
Signed-off-by: Kogara Naveen Kumar <quic_nkogara@quicinc.com>
2022-04-27 00:24:52 -07:00
qctecmdr
efed2c1546 Merge "asoc: Disable chmixer override flag" 2022-04-26 23:21:30 -07:00
qctecmdr
efb79a9556 Merge "asoc: Add LLNP mode support" 2022-04-26 02:26:21 -07:00
qctecmdr
ea47c1defd Merge "ipc: apr: Add config to control the ipc context print" 2022-04-26 02:26:21 -07:00
qctecmdr
e19eabb1ea Merge "audio-kernel: add ar conf in makefie" 2022-04-26 02:26:19 -07:00
ftong
959e737031 asoc: Add LLNP mode support
Add LLNP mode support to enable ULL capture.

Change-Id: I25fa565a3a4c7e8925623402d45b3d25051dba4c
2022-04-19 15:04:43 +05:30
Dechen Chai
f6bee9a0da asoc: Update machine driver for kona
-Update machine driver on kernel-5.4 for kona.
-update and affine qos value.
-update wsa component init function.
-update rx_tx codec init function.
-remove msm_init_aux_dev function.

Change-Id: Id0934adcd0e41968d9f9f3c8341525f3a7152858
2022-04-15 08:18:57 +05:30
Soumya Managoli
21433bb50c ASoC: codecs: Force enable micbias standalone
Code to enable micbias standalone irrespective
of wcd enable or disable.

Change-Id: If2052fc690e5e1110ebdbf6f9c6dbafc3bc8c493
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
2022-04-14 10:16:28 +05:30
Hexuan Zhu
a5cac99417 audio-kernel: add ar conf in makefie
Use CONFIG_SND_SOC_AR to load ar conf for audio kernel.

Change-Id:I2598d21b28cfd02083d42116dcab4f25800bd089
Signed-off-by: Hexuan Zhu <quic_hexuzhu@quicinc.com>
2022-04-13 16:16:50 +08:00
fei tong
d728324529 ipc: apr: Add config to control the ipc context print
Add CONFIG_IPC_LOGGING block for the code that initialize the logging context.

Change-Id: Ia5d8e5a579573e0ebce65ceb5798a7c2e0fd333f
Signed-off-by: ftong <quic_ftong@quicinc.com>
2022-04-13 14:29:59 +08:00
qctecmdr
3fc201fdf1 Merge "ASoC: wcd937x: Add check for ULP irrespective of the Class" 2022-04-11 04:35:52 -07:00
qctecmdr
61d08bd00a Merge "asoc: msm-pcm-routing: Assign default topology when app_type is zero" 2022-04-11 04:35:52 -07:00
qctecmdr
97b079fc9d Merge "asoc: wsa881x: Fix panic on stress reboot" 2022-04-11 04:35:52 -07:00
qctecmdr
3c2469c9c4 Merge "asoc: sm6150: change msm_wcn_be_dai_links name" 2022-04-11 04:35:51 -07:00
Abhinav Gaur
4ea24157b3 asoc: Disable chmixer override flag
Disable chmixer override flag to prevent override of
chmixer configurations by playback set channel map call.

Signed-off-by: Abhinav Gaur <quic_abhigaur@quicinc.com>
2022-04-11 15:03:50 +05:30
E V Ravi
4ea134d031 asoc: get and put for SEC_TDM_RX_0/TX_0 ADM channels
Enables get/put for SEC_TDM_RX_0/TX_0 ADM channels.

Change-Id: Idb38903e5e7cc1af64735e2cd62a2b6cda8cb22e
Signed-off-by: E V Ravi <quic_evenka@quicinc.com>
2022-04-07 14:17:16 +05:30
Arungopal Kondaveeti
1bda71f4ff asoc: msm-pcm-routing: Assign default topology when app_type is zero
In normal cases audio hal will sent  proper ACDB and APP type values
but in some cases if app type becomes zero.Assign default topology
when app_type is zero.

Change-Id: Id588308650f823f7d94ffb1fd2d7656d4bcf9cb2
Signed-off-by: Arungopal Kondaveeti <quic_kondavee@quicinc.com>
2022-04-06 10:39:56 +05:30
Faiz Nabi Kuchay
2812ff7a96 ASoC: wcd937x: Add check for ULP irrespective of the Class
Add check for ULP mode irrespective of the Class to update
QCRG sequence.

Change-Id: Ie314aec147083df2b7db3e2769e3ff652d13c7de
2022-04-05 15:02:55 +05:30
qctecmdr
9c2238e1ab Merge "ASoC: optimize automotive routing drivers" 2022-04-01 03:51:38 -07:00
qctecmdr
061e05e781 Merge "asoc: reduce HS TDM widget connection when it's disabled" 2022-03-31 22:14:05 -07:00
qctecmdr
eb9e398b56 Merge "ASOC: update sm6150 machine driver" 2022-03-31 22:14:05 -07:00
qctecmdr
0cab313bf2 Merge "ASOC: talos: update dai-link port-config for talos" 2022-03-31 22:14:05 -07:00
qctecmdr
43c1ed7e71 Merge "asoc: codec: Fix error makefile: Fix error and add version information" 2022-03-31 22:14:04 -07:00
qctecmdr
42c2b29a19 Merge "asoc: add afe limiter disable kcontrol and fix ULLPP index mismatch" 2022-03-31 22:14:04 -07:00
qctecmdr
5aab579259 Merge "Revert "ASOC: Disable Temperature sensor of WSA881x for bengal"" 2022-03-31 22:14:04 -07:00
Abhinav Gaur
3831a37a08 ASoC: optimize automotive routing drivers
remove non-automotive dapm widgets, kcontrols and dapm
routes for boot KPI optimization.

Change-Id: Id494508c2cfb4c4bca58a7fbe0ed4c63c2e8cd38

Signed-off-by: Abhinav Gaur <quic_abhigaur@quicinc.com>
2022-03-31 01:13:38 -07:00
Abhinav Gaur
4dad88ac99 ASOC: automotive routing drivers base version
Branch out from mainline and create separate routing driver
for automotive platform for boot KPI optimization.

Parent commit id for the base routing driver version for
tracking purpose : commit dd9977f073

Change-Id: I64b89bafb304d403efd08850a72830100939c3ba
Signed-off-by: Abhinav Gaur <quic_abhigaur@quicinc.com>
2022-03-31 00:06:00 -07:00
Xu,Baochu
34b8f2e9bd asoc: wsa881x: Fix panic on stress reboot
Fix panic issue on stress reboot test.
1. Change waiting flag to indicate analog client device init completely.
The new waiting flag can guarantee the analog client pointer is initilized.
2. Exit with EPROBE_DEFER while timeout on waiting flag.
There is low frequency that sound card and analog client device go
into same deffer probe worker. In this case, analog client device will not be
probed till sound card devie probed. Then, sound card probe function
call analog client device to get temparatue, this caused null pointer
panic.

Change-Id: Ib0e078e5591e14e5cdb69875213b8e7d403e559b
2022-03-30 16:17:33 +08:00
qctecmdr
940fa8c34b Merge "dsp: lower the log lever of ADSP_EALREADY" 2022-03-29 10:47:13 -07:00
qctecmdr
459e1f46fb Merge "dsp: Remove error log when there is no AFE cal data" 2022-03-29 10:47:12 -07:00
qctecmdr
1180359f37 Merge "soc: remove tdm slot mask invalid err log in multi lane case" 2022-03-29 10:47:12 -07:00
qctecmdr
7670c02c96 Merge "dsp: support ADM output map for less then 2 channels" 2022-03-29 10:47:12 -07:00
qctecmdr
4019a3da22 Merge "ASoC: msm: support multi group matrix mixer configure for SSMD mode" 2022-03-29 10:47:12 -07:00
qctecmdr
8dabe1d941 Merge "asoc: Add VI feedback dai_link for bengal" 2022-03-29 10:47:10 -07:00
Dechen Chai
268b2ba14e Revert "ASOC: Disable Temperature sensor of WSA881x for bengal"
This reverts commit d1644ff55d.

Change-Id: Iac9a0d8128bbce516ea147a70f0266d256a0f3c3
Signed-off-by: Dechen Chai <quic_dchai@quicinc.com>
2022-03-29 17:25:05 +05:30
fei tong
31c3028f79 asoc: add afe limiter disable kcontrol and fix ULLPP index mismatch
add afe limiter control to enable/disable afe limiter module and fix
ULLPP index not match issue.

Change-Id: I1820a2a270b4a8aaff3e0043b26d993224c0d33f
2022-03-28 13:23:11 +08:00
Shuai Zhang
11fae871f1 asoc: codec: Fix error makefile: Fix error and add version information
Fix error caused by include error.
Fix error caused by warning and add version information.

Change-Id: I098025ec4dee178c709a2007a2cfe43ddafc23b5
2022-03-25 13:15:54 +05:30
Shuai Zhang
0b55b86b08 ASOC: talos: update dai-link port-config for talos
Modify COMP_CODEC in wsa_dma_rx.
Add sm_port_map_wcd937x in port-config.

Change-Id: Ie8044ddc32e87970c457f627cbfced0543940091
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-25 09:30:51 +05:30
Shuai Zhang
915b9b8135 asoc: sm6150: change msm_wcn_be_dai_links name
Change DAI-LINK name from LPASS_BE_SLIMBUS_TX_VI 
to LPASS_BE_SLIMBUS_7_RX for Bluetooth playback

Change-Id: Iac1a2c72438dde2100fbdc2733bd0bd5adec3041
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-23 11:50:25 +05:30
Faiz Nabi Kuchay
c30a0cf98d ASoC: wcd937x: Update QCRG sequence for wcd937x
Update QCRG sequence for wcd937x.

Change-Id: I039a8b2dc74c34722b6c81bab429dee6326ec362
2022-03-21 23:43:32 -07:00
Hongtao Peng
74424d30ff dsp: lower the log lever of ADSP_EALREADY
change log lever of ADSP_EALREADY from error to debug

Change-Id: I4ecd120e38748c67b0e9c0e7b5a8717eefc3ad65
Signed-off-by: Hongtao Peng <quic_hongtaop@quicinc.com>
2022-03-22 12:02:45 +08:00
Hongtao Peng
4417be62e3 dsp: Remove error log when there is no AFE cal data
Change-Id: I51c3cf6d1143d16521f6e64010e67524d07d7850
Signed-off-by: Hongtao Peng <quic_hongtaop@quicinc.com>
2022-03-21 23:46:30 +08:00
Shuai Zhang
e72bd21ce5 asoc: reduce HS TDM widget connection when it's disabled
Add CONFIG_HSIF_DISABLE config to reduce HS TDM
widget connections when it's disabled.

Change-Id: I9b8a36a99fbfe4356311e2b9bc6e5a7fd7e2ac0c
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-21 17:20:44 +05:30
Hongtao Peng
dd1d9f2502 soc: remove tdm slot mask invalid err log in multi lane case
slot mask use group value instead of port value, which
will return default value when multi lane is enabled

Change-Id: Iac2f6876915d14b1f5b005354a6edb9239fa41f9
Signed-off-by: Hongtao Peng <quic_hongtaop@quicinc.com>
2022-03-21 18:49:52 +08:00