Commit graph

3,337 commits

Author SHA1 Message Date
qctecmdr
da5ff7c31c Merge "audio-kernel: include sa8155 config" 2020-09-23 22:09:42 -07:00
qctecmdr
240d3a32c6 Merge "asoc: fix out of bound access for FE DAI list" 2020-09-23 22:09:42 -07:00
Saurav Kumar
b654780043 asoc: fix out of bound access for FE DAI list
Add change to fix the array index out of bounds error.

Change-Id: I6a40a6dce32c90da407a51ee9ed95d649bb7d9d8
Signed-off-by: Saurav Kumar <sauravk@codeaurora.org>
2020-09-18 17:16:49 -07:00
qctecmdr
25ae32a589 Merge "ASOC: add support to disable WSA881x temperature sensor" 2020-09-18 10:44:38 -07:00
qctecmdr
a86ef14a50 Merge "asoc: codec: add delay if regmap is not registered" 2020-09-18 10:44:38 -07:00
qctecmdr
6a4d66fb84 Merge "asoc: bolero: switch clk to VA_CLK for LPI SVA" 2020-09-18 10:44:38 -07:00
qctecmdr
f8101bd79f Merge "ASOC: Disable Temperature sensor of WSA881x for holi" 2020-09-18 10:44:38 -07:00
Tahir Dawson
c397018921 audio-kernel: include sa8155 config
Change-Id: Icceeafc2a6d0996e39a05f39246aaf3f5e99404f
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
Signed-off-by: Tahir Dawson <dawson@codeaurora.org>
2020-09-16 10:35:18 -07:00
qctecmdr
3944bb8d29 Merge "Revert "ASoC: rouleur: Reduce PA Gain for low state of charge based on dts node"" 2020-09-15 10:44:42 -07:00
qctecmdr
73bd1902ea Merge "ASoC: codec: Change name for enum defined for callback between wcd and bolero" 2020-09-15 10:44:42 -07:00
qctecmdr
156b36504a Merge "dsp: Fix issues due to accessing array out of bounds" 2020-09-15 10:44:42 -07:00
qctecmdr
d46b228359 Merge "ASoC: limit error log print rate" 2020-09-15 10:44:41 -07:00
Vangala, Amarnath
76e5e82e79 ASOC: add support to disable WSA881x temperature sensor
Add support to disable compilation of temperature sensor for
wsa881x analog module, when not needed.

Change-Id: I054e90d4b1abae3c0cdc6623b1f688120ba87dbd
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-09-15 10:22:37 +05:30
Vangala, Amarnath
265ff22772 ASOC: Disable Temperature sensor of WSA881x for holi
Temperature sensor of WSA881x is not used in holi.
Hence disable compilation.

Change-Id: I9fe1d297413c0029970c7719aad6c04ee3f84ab4
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-09-14 20:57:42 +05:30
Prasad Kumpatla
d207401afe asoc: codec: add delay if regmap is not registered
Add delay if the regmap of wsa slave is not registered
to avoid Null pointer dereference.

Change-Id: Ic3e5d1cc7c3fc33f4f4c480708cd562b73c1a04b
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-09-12 07:25:44 -07:00
qctecmdr
c896ed2237 Merge "soc: swr-mstr: check swrm->state in swr_runtime_suepend" 2020-09-10 01:00:03 -07:00
qctecmdr
9c822fca10 Merge "dsp: add support for CMA heap allocation during call" 2020-09-10 01:00:03 -07:00
Vatsal Bucha
625753df87 ASoC: codec: Change name for enum defined for callback between wcd and bolero
Add enum names defined for callback between wcd and bolero in
separate file and include that file in order to have same enum
across wcd and bolero.

Change-Id: I808c2ad3de37655c1ba2b8e096def60703ced7f2
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-09-09 20:26:36 -07:00
Meng Wang
5de0472da9 asoc: bolero: switch clk to VA_CLK for LPI SVA
When switching TX_CLK to VA_CLK, there could be some
IRQ missing with current design. Switch the clk in bolero
to avoid the corner case.

Change-Id: Iec5cac16e026e4e46646894c546f1acb3fce4fa8
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-09-09 16:34:16 +08:00
Prasad Kumpatla
69415f2e6c dsp: Fix issues due to accessing array out of bounds
Add check for ASM_ACTIVE_STREAMS_ALLOWED
sessions to avoid accessing the array out of bounds.

Change-Id: I7b2fe2dffdb3132fded0b1e268ebd29139050823
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-09-07 22:59:15 -07:00
Meng Wang
91437a36ea soc: swr-mstr: check swrm->state in swr_runtime_suepend
in swrm_runtime_suspend, current_state is not updated and
causes audio_core_vote is not disabled. Update to check
swrm->state to resolve this issue.

Change-Id: I2c5be360fe5ddd964d7bc45696e254579aae5392
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-09-08 13:13:56 +08:00
xsang
1513b912b3 ASoC: limit error log print rate
Limit error log print rate to avoid crash.

Change-Id: I76ff715cb98a19d2885ca89d281a882a898a8264
Signed-off-by: xsang <xsang@codeaurora.org>
2020-09-08 10:51:44 +08:00
Harshal Ahire
77bfded0b3 asoc: Parse adsp_varient to update sound_card name for holi
Update the sound card name corresponding to 1MB SKU holi varient.

Change-Id: I6d13b5d642dee168cc79be54d0f45a58b396630f
2020-09-07 03:42:21 -07:00
qctecmdr
a387074fd0 Merge "Asoc: fix integer overflow for long duration offload playback" 2020-09-06 02:31:20 -07:00
qctecmdr
a8f17e1f0c Merge "asoc: wcd-mbhc: report headset when it's not reported" 2020-09-06 02:31:20 -07:00
Vatsal Bucha
ece27ec4e9 Revert "ASoC: rouleur: Reduce PA Gain for low state of charge based on dts node"
This reverts commit 7bc77136ad.

Change-Id: I9c46a0ae8db3c3ea9ab9c908b9faf9b61e4364be
2020-09-04 21:29:05 +05:30
Guodong Hu
d200c2fbe1 dsp: add support for CMA heap allocation during call
Add support for CMA heap allocation during call.

Mirror from: 3226736

Change-Id: I30a237b360ec6d690515682f0d98a86148acf059
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2020-09-03 18:45:53 -07:00
qctecmdr
994eb4e818 Merge "ASOC: fix audio machine driver compile issue" 2020-09-03 18:06:23 -07:00
qctecmdr
0a07c920ab Merge "asoc: update macro for MAX DAI ID to include all frontend dai" 2020-09-03 18:06:23 -07:00
qctecmdr
d22126dbda Merge "soc: soundwire: Fix soundwire audio core voting sequence" 2020-09-03 18:06:23 -07:00
qctecmdr
b794fac22f Merge "ASOC: update soundwire master port config for holi" 2020-09-03 18:06:23 -07:00
qctecmdr
9fd22f4064 Merge "soc: soundwire: fix for headset mic recording issue with wcd937x." 2020-09-03 18:06:23 -07:00
qctecmdr
61241e3041 Merge "asoc: lahaina: address checkpatch error and warning" 2020-09-03 18:06:23 -07:00
qctecmdr
d512c0e75f Merge "ASoC: shima: Resolve noise during amic record" 2020-09-03 18:06:22 -07:00
qctecmdr
8c5b6cac7e Merge "soc: swr-slave: update swr config for SWR DMIC" 2020-09-03 18:06:22 -07:00
qctecmdr
6047761857 Merge "ipc: apr_vm: add symbol apr_register_adsp_state_cb" 2020-09-03 18:06:22 -07:00
qctecmdr
1831ffeeec Merge "Revert "audio-driver: dsp: Adapt to non sys heap support for GVM"" 2020-09-03 18:06:22 -07:00
qctecmdr
3c36eede88 Merge "dsp/ipc: update kbuild and header files for gvm bringup" 2020-09-03 18:06:22 -07:00
qctecmdr
f56b14ef39 Merge "ASoC: wsa883x: Update hardware sequence for WSA883x codec" 2020-09-03 18:06:22 -07:00
qctecmdr
e793db529e Merge "ASOC: Fix audio compile issue in secure_buffer" 2020-09-03 18:06:22 -07:00
Meng Wang
dcc84d6ff8 asoc: wcd-mbhc: report headset when it's not reported
During bootup and headset inserted, headset may first
detect as GND_MIC swap type and not report. During three
seconds polling, it's corrected as headset or headphone.
When wrk_complete is false, it will not report to userspace.
When current_plug is MBHC_PLUG_TYPE_NONE, report headset or
headphone to userspace.

Change-Id: I63394f1704c34cf355f0f4b0c33959332a69a639
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-09-02 13:33:09 +08:00
Akhil Karuturi
9cf05e43f9 Asoc: fix integer overflow for long duration offload playback
update total bytes transffered and received to prevent
overflow when playback goes beyond 24 hours.

Change-Id: Icacae7495d2016788ff0bb3796c5a0724b3f5a29
Signed-off-by: Akhil Karuturi <akarutur@codeaurora.org>
2020-09-01 22:14:48 -07:00
qctecmdr
c0411d8c3a Merge "soc: soundwire: support 600KHz bus clock scaling" 2020-09-01 18:11:51 -07:00
qctecmdr
4716ce11df Merge "dsp: ensure unmap memory is called when PDR/SSR" 2020-09-01 18:11:51 -07:00
qctecmdr
9c3cdfae73 Merge "asoc: bolero: Update bolero version 2.0 entry" 2020-09-01 18:11:51 -07:00
qctecmdr
78ff42400c Merge "dsp: afe: send cps config after sending topology" 2020-09-01 18:11:50 -07:00
George Gao
e3c73874af asoc: lahaina: address checkpatch error and warning
Checkpatch tool generates some errors and warnings due to added PM QoS feature
This change fixes these issues.

Change-Id: I0843ecd33144d7ac65649ee90ed156e97a1a2f8a
Signed-off-by: George Gao <georgao@codeaurora.org>
2020-09-01 01:25:10 -07:00
Guodong Hu
0d65a666bc ipc: apr_vm: add symbol apr_register_adsp_state_cb
apr_register_adsp_state_cb is declared in apr.h.

Change-Id: Ifd5b9c53af62868076db066f12615af22f54f5be
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2020-09-01 00:48:19 -07:00
Guodong Hu
6d6529a694 dsp/ipc: update kbuild and header files for gvm bringup
Update Kbuild and header files in msm_audio_ion_vm.c
and apr_vm.c for kernel 5.4 gvm audio bring up.

Change-Id: I6bcd0e49f783aaec43a64ad308b817a474b30dc7
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2020-09-01 00:47:51 -07:00
Guodong Hu
9a0b1fb8c4 Revert "audio-driver: dsp: Adapt to non sys heap support for GVM"
This reverts commit 5f0a52cccd.

Change-Id: Id60781c539e036d8877fac8e092e40dfb5bc42a5
2020-09-01 00:10:54 -07:00