Commit Graph

3377 Commits

Author SHA1 Message Date
Harshal Ahire
4015ed0c54 soc: fix HS LPI issue for holi target
- Skip audio hm voting during bootup.
- Vote and unvote audio hm vote during swrm_runtime_suspend
  and swrm_runtime_resume

Change-Id: I7a9c20f62ba0d87779b26da218bfe7373132b565
2020-09-29 00:35:35 -07:00
qctecmdr
69fffecae6 Merge "ASoC: wcd938x: clear digital CDC analog CLK bit 0x08" 2020-09-27 03:10:55 -07:00
qctecmdr
8cb83a63a2 Merge "dsp: add support for audio use cases to use afe topo deregister" 2020-09-27 03:10:55 -07:00
qctecmdr
ce1a09d1da Merge "asoc: holi: update soundwire master port configuration for Tx" 2020-09-27 03:10:55 -07:00
qctecmdr
0773e4d1f7 Merge "Revert "ASoC: codecs: handle device disconnect during SSR"" 2020-09-27 03:10:54 -07:00
qctecmdr
edc912447b Merge "dsp: q6core: Check q6core avs state to be modules ready" 2020-09-27 03:10:54 -07:00
qctecmdr
3dd8f01a12 Merge "asoc: remove AFE RX/TX from frontend dai" 2020-09-27 03:10:54 -07:00
qctecmdr
4a01fe07c5 Merge "asoc: add missed routing for Quinary TDM" 2020-09-27 03:10:54 -07:00
qctecmdr
d27610337b Merge "ASoC: lahaina: add audio core vote state in mi2s" 2020-09-27 03:10:54 -07:00
qctecmdr
26d36aef6b Merge "asoc: qcs405: add support for dsd input" 2020-09-27 03:10:54 -07:00
Laxminath Kasam
eedc416e70 dsp: q6core: Check q6core avs state to be modules ready
During PDR, in dynamic load module if attempted
before all module state ready on AVS it may fail.
Add AVS state check before send load module cmd.

Change-Id: I70a5a5b11f5661042d704222759608179ba9d47c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-09-23 23:12:05 -07:00
qctecmdr
683ae4f2f1 Merge "dsp: add change to fix use-after-free issue" 2020-09-23 22:09:43 -07:00
qctecmdr
87e8178fd7 Merge "dsp: ion: avoid dma_buf_put twice when msm_audio_ion_map_buf fails" 2020-09-23 22:09:43 -07:00
qctecmdr
caf52994ef Merge "soc: remove error log in lpi gpio write" 2020-09-23 22:09:43 -07:00
qctecmdr
a399898f89 Merge "Revert "ASoC: mbhc: Call impedance detection routine before get imped"" 2020-09-23 22:09:43 -07:00
qctecmdr
3f214c9daf Merge "soc: soundwire: Update frame configuration for native audio playback" 2020-09-23 22:09:43 -07:00
qctecmdr
eb133a129a Merge "ASoC: fix typo in QUIN_TDM_TX_7 Hostless dai link" 2020-09-23 22:09:43 -07:00
qctecmdr
def0a6fb46 Merge "config: lahaina: Disable AUXPCM interface" 2020-09-23 22:09:43 -07:00
qctecmdr
8ce3306ada Merge "Asoc: fix integer overflow for long duration offload playback" 2020-09-23 22:09:43 -07:00
qctecmdr
7985106651 Merge "ASoC: swr-dmic: fix kw error in dmic_swr_ctrl" 2020-09-23 22:09:43 -07:00
qctecmdr
d2274296b2 Merge "dsp: support ION memory allocation from audio heap" 2020-09-23 22:09:42 -07:00
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
Vangala, Amarnath
63efc9ab3b asoc: holi: update soundwire master port configuration for Tx
Update the soundwire master port configuration
for 4.8MHz use cases in Tx path for holi.

Change-Id: If183c9eeba1d9e64eff978021dc234b183e83f3b
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-09-22 22:05:48 +05:30
Sudheer Papothi
001b648150 soc: soundwire: Update frame configuration for native audio playback
Update frame shape configuration for native audio playback for better
performance during native audio playback.

Change-Id: I2d7c22e1cb69e73e4f474be020931d74715a1a60
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-09-19 10:58:26 -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
Vignesh Kulothungan
a77e386d54 Revert "ASoC: codecs: handle device disconnect during SSR"
This reverts commit 75f229237a.

Change-Id: Ie37d6ac80a3f86df50cdaab65dfd51624f7c7517
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-09-18 13:15:07 -07:00
Viraja Kommaraju
8c623f54c4 dsp: support ION memory allocation from audio heap
* Add support to allocate memory from the ION audio heap
  once smmu enabled.

Change-Id: Ic1686c7a3225b723811cbbd35f08d0ac123d1f78
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
2020-09-19 01:30:48 +05:30
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
Sudheer Papothi
5f428b091d ASoC: lahaina: Update soundwire frame shape configuration
Update soundwire frame shape configuration for native audio
playback usecase.

Change-Id: I2e80589c8f2ae9d1cc3ad02e8864922300db97bb
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-09-18 21:50:47 +05:30
Prasad Kumpatla
193072dec9 config: lahaina: Disable AUXPCM interface
Disable AUXPCM interface to avoid unnecessary
registration of mixer controls and improve
performance in loading mixer paths.

Change-Id: I8025a3d5372c90546ba1ed47fa18c160d42f76ef
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-09-18 13:47:31 +05:30
Vignesh Kulothungan
26542e0764 soc: remove error log in lpi gpio write
When sound wire master suspend is called, it holds the mutex lock
and does lpi_gpio_write, which gets preempted during pr_err_ratelimited.
Any other calls to master suspend will be blocked waiting for the above
mutex lock resulting in timeouts.
Remove pr_err_ratelimited log when device is down.

Change-Id: I148263ddbb89d436b0ce27bdc4519f196d90679a
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-09-17 11:57:51 -07:00
Xiaoyu Ye
56dbe8147e dsp: add support for audio use cases to use afe topo deregister
To handle erroneous scenario when an afe port's island mode is
mismatched with its audio use case's island mode, add support for
all audio use cases to deregister previously created afe topology
if an audio use case's afe port failed to start but its topology
has already been set in ADSP previously.

Change-Id: I0176eb09d313150541c6946b1b3001604e7c04c7
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-09-17 04:39:54 -07:00
Vatsal Bucha
ba1a97d976 Revert "ASoC: mbhc: Call impedance detection routine before get imped"
This reverts commit 892efe8d09.

Change-Id: Ica020594b0470cd297cd84ca6b737bde8dce33f3
2020-09-17 11:23:56 +05:30
Xiaoyu Ye
0cdc710d1d ASoC: wcd938x: clear digital CDC analog CLK bit 0x08
Update the bit 0x08 of WCD938X_DIGITAL_CDC_ANA_CLK_CTL
to 0 during DAPM post PMD.

Change-Id: Iea7d3878e9c56f8e219240007b8dbe30683d3161
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-09-16 22:12:13 -07:00
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
Tahir Dawson
d49356ea7e ASoC: fix typo in QUIN_TDM_TX_7 Hostless dai link
Change-Id: I6da481c3774a6751f28b94243f951a2fc1aa43e2
Signed-of-by: Tahir Dawson <dawson@codeaurora.org>
2020-09-16 19:42:05 -04:00
Akhil Karuturi
902fbb8b5d Asoc: fix integer overflow for long duration offload playback
update runtime total bytes transferred and received
in compress driver.

Change-Id: I1bd129e18681fcf10a27efaa061594081114c1fb
Signed-off-by: Akhil Karuturi <akarutur@codeaurora.org>
2020-09-16 12:12:53 -07:00
Vignesh Kulothungan
d6ccb466fb ASoC: swr-dmic: fix kw error in dmic_swr_ctrl
Add array bounds check for index before accessing
tx_master_port_map.

Change-Id: I52a8dbdaf40974a45e86b3dca4caa27d88a7b864
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-09-16 10:55:00 -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
Meng Wang
b53d514f0d dsp: ion: avoid dma_buf_put twice when msm_audio_ion_map_buf fails
Update logic to avoid calling dma_buf_put twice
when msm_audio_ion_map_buf fails.

Change-Id: I6958ec55dc78f245e93fbaedf085873fe0f4cb93
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-09-15 18:45:21 -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