Commit Graph

3303 Commits

Author SHA1 Message Date
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
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
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
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
qctecmdr
46eb852298 Merge "ASoC: rouleur: Reduce PA Gain for low state of charge based on dt node" 2020-08-29 00:30:36 -07:00
Vangala, Amarnath
2441e3cd0a ASOC: update soundwire master port config for holi
Update soundwire master port config to support wcd937x slave for holi.

Change-Id: I87afe6942a52d576591bf8f6f27cc47441a356c1
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-08-29 07:29:28 +05:30
Sudheer Papothi
5701487d16 ASoC: wsa883x: Update hardware sequence for WSA883x codec
Update hardware sequence for WSA883x codec as per hardware
requirements.

Change-Id: I1e7b8bf28bca8f07f548db89a31e8a63a5282482
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-08-28 11:18:31 +05:30
Meng Wang
d13c31fb52 asoc: lahiana: update sequence to initialize bolero dai-links
When initializing RX_DMA_1, it would fail to find wsa-codec.1 and
fe_clients is not initialzed. When soc-pcm.c tries to access fe_clients,
kernel panic happens. Update sequence to initialize bolero dai-links.

Change-Id: I4791b08a913fafc5723cc676ff59b119a4cf2c80
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-08-28 13:36:03 +08:00
Laxminath Kasam
1cd5f3fe0b asoc: bolero: Update bolero version 2.0 entry
For get version info of bolero, update
bolero 2.0 entry.

Change-Id: I8f21b67eb6532c9b1c1ef6ab15015a29a4737db3
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-08-27 22:27:31 -07:00
Vignesh Kulothungan
26c1ce2fb7 dsp: afe: send cps config after sending topology
Set params for a module should be done after sending
the topology information in which the module resides in.
Send cps configuration after sending afe topology.
Send cps configuration only for speaker protected usecases.

Change-Id: I89c7df9f0d70862813aa7a2bd1ea1afc2ddcc882
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-08-27 17:11:05 -07:00
Kunlei Zhang
048c3b9418 dsp: ensure unmap memory is called when PDR/SSR
During PDR/SSR, hyp assign is not called when stop
call in below cases:
1. cvs and mvm handle are not null
2. disable voice path failure during device switch

Fix it by ensuring unmap memory is called during
PDR/SSR.

Change-Id: I37b66a6f6dc29934dde0b0814ab44b784ebe2aea
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
2020-08-27 19:38:13 +08:00
Aditya Bavanari
da6ab9bc62 config: Disable MI2S, TDM and AUXPCM interfaces for holi
Disable MI2S, TDM and AUXPCM interfaces as they are
unused for holi target. This will reduce the number of mixer
controls registered with asoc and improve the performance.

Change-Id: Icec543124401fc483b02b30c29ebbd293d766bc1
2020-08-25 21:56:06 -07:00
Xiaojun Sang
7eef74a32f soc: swr: release transaction slot at failure
Transaction slot is not freed when failure happens. Accumulated
error may lead to breach of transaction slot limit. Free the
transaction slot at failure.

Change-Id: I8588be18a820306d2a596fe2bf4a97346076b9b9
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2020-08-26 05:56:02 +08:00
qctecmdr
2e4a1a6396 Merge "asoc: Register widgets and intercons only when supported" 2020-08-25 11:21:18 -07:00
qctecmdr
9c206a0ce5 Merge "soc: update sample offset's for 4.8MHZ usecases" 2020-08-25 11:21:18 -07:00
qctecmdr
4761f68bd2 Merge "asoc: wcd937x: Update slvdevpath after connect_port in powerup" 2020-08-25 11:21:18 -07:00
qctecmdr
4b151cba32 Merge "soc: qcom: qdsp6v2: promote priority of apr_vm_cb_thread" 2020-08-25 11:21:17 -07:00
qctecmdr
f195f7057b Merge "soc: qcom: audio: remove unnecessary ack" 2020-08-25 11:21:17 -07:00
qctecmdr
911447121d Merge "asoc: swr-dmic: select correct port type for swr-dmic" 2020-08-25 11:21:17 -07:00
qctecmdr
e2e4119e33 Merge "asoc: holi: add wcd937x mbhc detection at probe" 2020-08-25 11:21:17 -07:00
qctecmdr
4156bf6e97 Merge "ASoC: msm: Add 44.1Khz and 96 Khz sample rate support for tdm group device" 2020-08-25 11:21:17 -07:00
qctecmdr
94c552c1c8 Merge "soc: swr-mstr: Fix headset detect issue due to master.num_dev not updated" 2020-08-25 11:21:17 -07:00
qctecmdr
5caa78db45 Merge "dsp: add support for SVA to use afe topology deregister" 2020-08-25 11:21:17 -07:00
Vatsal Bucha
7bc77136ad ASoC: rouleur: Reduce PA Gain for low state of charge based on dt node
Configure low PA Gain for low state of charge based on dt node.

Change-Id: I7f36cf4b17d9794a2763edc3c2fd5cec53a3521f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-08-25 15:57:02 +05:30
Meng Wang
a59433a484 soc: swr-mstr: update component and interrupt enable sequence
Enable component after enabling interrupt to avoid missing
some intterupt during master init.

Change-Id: I0f60c5431a815c58f878d3b9275a046e47939111
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-08-25 17:18:16 +08:00
qctecmdr
be8dfac3bf Merge "ASoC: wsa883x: enable vbat adc filter" 2020-08-24 20:25:19 -07:00