提交線圖

3360 次程式碼提交

作者 SHA1 備註 日期
qctecmdr
26d36aef6b Merge "asoc: qcs405: add support for dsd input" 2020-09-27 03:10:54 -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
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
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
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
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
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
Saurav Kumar
9ec95bb9c8 dsp: add change to fix use-after-free issue
Add change to properly handle the pointers by setting them to
NULL after free and adding some null checks before dereferencing.

Change-Id: I3e52b9a6885a8d8a91c09f75fe92ba69e3eb555f
Signed-off-by: Saurav Kumar <sauravk@codeaurora.org>
2020-09-11 01:58:16 -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