Commit grafiek

3325 Commits

Auteur SHA1 Bericht Datum
Sudheer Papothi
b11e8d0718 ASoC: lahaina: add audio core vote state in mi2s
Add audio core vote state variable for mi2s interfaces.
Enable it during interface startup and disable it during
mi2s_disable_audio_vote, auxpcm init/deinit.

Change-Id: I798e15f489b1cb1816e424e1b543016d757016e4
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-09-16 17:13:14 -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
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
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
Sudheer Papothi
e649c72517 soc: soundwire: Fix soundwire audio core voting sequence
Fix soundwire audio core voting sequence during sub system restart.

Change-Id: I1653cc8b62083b5b736e661d608b0249e03f6093
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-08-31 16:49:57 -07:00
Vangala, Amarnath
03357c3d52 soc: soundwire: fix for headset mic recording issue with wcd937x.
Add slave device address for wcd937x in soundwire master.
Update slave port configuration for wcd937x for holi.

Change-Id: I1f953e47b1520efd99b6f400593242ae5fc6158a
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-08-31 16:42:25 +05:30
Vatsal Bucha
f064edbb48 ASoC: shima: Resolve noise during amic record
Change shima master port params same as slave
to resolve noise during amic record.

Change-Id: I3c26c51413d104720ffd063cb5b9fc50f287c06a
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-08-31 13:37:10 +05:30
Fei Tong
111a594520 ASOC: fix audio machine driver compile issue
LV Platform use the same ARCH cause Kbuild mismatch issue

Change-Id: I803aeb3bbee45566b1f9e66b4a6c8b8c26ba86f3
Signed-off-by: Fei Tong <ftong@codeaurora.org>
2020-08-31 14:48:19 +08:00
Fei Tong
27aeb6cb9d ASOC: Fix audio compile issue in secure_buffer
Add soft link for secure_buffer header file for LV platform

Change-Id: Ia11b44fbf010699879934c53c8863ea4ad20b383
Signed-off-by: Fei Tong <ftong@codeaurora.org>
2020-08-31 14:45:58 +08:00
Pallavi
f647fdaae1 asoc: update macro for MAX DAI ID to include all frontend dai
Routing driver uses this macro to manage all allowed session,
hence update is needed.

Change-Id: Id6367d89e99ddb427078e2264c3c72832937f96a
Signed-off-by: Pallavi <pallavim@codeaurora.org>
2020-08-30 20:32:51 -07:00
qctecmdr
b387595408 Merge "soc: swr-mstr: update component and interrupt enable sequence" 2020-08-29 00:30:36 -07:00
qctecmdr
d605e7c781 Merge "soc: swr: release transaction slot at failure" 2020-08-29 00:30:36 -07:00
qctecmdr
b6adfb5938 Merge "ipc: apr: set q6 state down when ECONNRESET from TAL" 2020-08-29 00:30:36 -07:00
qctecmdr
fc3cf7b6d9 Merge "config: Disable MI2S, TDM and AUXPCM interfaces for holi" 2020-08-29 00:30:36 -07:00
qctecmdr
183865e84d Merge "asoc: lahiana: update sequence to initialize bolero dai-links" 2020-08-29 00:30:36 -07:00