提交線圖

2438 次程式碼提交

作者 SHA1 備註 日期
qctecmdr
8799e88c39 Merge "asoc: routing: Fix CDC_DMA_RX_1 routing to SLIM_8_TX for loopback" 2019-12-05 06:58:04 -08:00
qctecmdr
fec5f13aea Merge "asoc: Audio bringup changes for bengal" 2019-12-05 06:57:05 -08:00
qctecmdr
7cbd8f97f1 Merge "soc: soundwire: Update ssp period for fractional sample rates" 2019-12-05 06:56:21 -08:00
qctecmdr
85661d1f96 Merge "ASoC: bolero: Update the sequence for native audio playback" 2019-12-05 06:52:39 -08:00
qctecmdr
830a05ef7c Merge "asoc: set format param mask for SLIM_7_TX backend" 2019-12-04 10:03:28 -08:00
qctecmdr
454fe083a6 Merge "ASoC: msm: set pinctrl if available on auto machine" 2019-12-04 09:59:28 -08:00
qctecmdr
0a84f39d93 Merge "asoc: add routing control for Multimedia17 with Slim7 TX" 2019-12-04 09:58:31 -08:00
Laxminath Kasam
696b14bfa2 asoc: Audio bringup changes for bengal
Audio bringup fixes for bengal target.

Change-Id: Ic79c478fe3c6b80eeb48aa2bcf1887c8dd8f5edc
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-12-04 15:07:29 +05:30
Linux Build Service Account
2ec178af46 Merge "ASoC: compr: wake up drain only if it's the last buffer" into audio-drivers.lnx.4.0 2019-12-03 04:48:59 -08:00
Sudheer Papothi
03eeaf15cd ASoC: bolero: Update the sequence for native audio playback
Update the clock sequence for native audio playback to avoid
any distortion or change in gain during native audio playback
usecase.

Change-Id: Ia9aaa63f3e476b49a07d49b794f4120ed55bac47
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-12-03 06:02:06 +05:30
Laxminath Kasam
e1a5f97352 asoc: routing: Fix CDC_DMA_RX_1 routing to SLIM_8_TX for loopback
For loopback of CDC_DMA_RX_1 port to slim_8_tx,
add proper switch control.

Change-Id: I58353c8cc43ac96d39a810b8e471458111f57319
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-12-03 00:58:09 +05:30
qctecmdr
ea67d09c28 Merge "asoc: Audio bringup changes for bengal" 2019-11-30 23:28:18 -08:00
qctecmdr
afe9d1e31e Merge "asoc: codecs: Enable interrupt mask at bootup" 2019-11-30 23:28:18 -08:00
qctecmdr
3aebb5d306 Merge "ASoC: msm: add routing from MM21 to QUAT MI2S RX" 2019-11-30 23:28:18 -08:00
Prasad Kumpatla
d7df12367f asoc: set format param mask for SLIM_7_TX backend
Enable format mask for SLIM_7_TX backend to fix hardware
params setting failure.

Change-Id: I141bbed3d4272eb4e7d93027082d705f949a502f
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2019-11-29 19:40:46 +05:30
Harshal Ahire
1cbefc9365 asoc: add routing control for Multimedia17 with Slim7 TX
Add routing control for Multimedia17 with Slim7 TX.

Change-Id: I6d21f2a5e2a1923c64d82726e951c2c5bd40eabc
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2019-11-29 19:35:34 +05:30
Weiyin Jiang
7b51a258a1 ASoC: compr: wake up drain only if it's the last buffer
There's a corner case where there're pause and resume operations in the
middle of last full buffer drain. Waking up drain without checking
against the real byte available violates the assumption only one
partial buffer in the last write.

The solution is to just resume the write pipe if there's more than one
fragment pending.

CRs-Fixed: 2536883
Change-Id: Id24c63bad774ec916942b8f94ddaa396d2560517
Signed-off-by: Weiyin Jiang <wjiang@codeaurora.org>
2019-11-28 23:01:36 -08:00
qctecmdr
2d5f55cacf Merge "dsp: Add cmd locks to fix synchronization issues" 2019-11-27 20:28:48 -08:00
qctecmdr
0ff43491d8 Merge "dsp: adsp-loader: Add check around bytes read from nvmem cell" 2019-11-27 20:27:53 -08:00
qctecmdr
78b665025c Merge "ASoC: msm: Add support for MultiMedia23" 2019-11-27 20:26:43 -08:00
qctecmdr
42ba68d4d2 Merge "dsp: lsm: remove the size checking for sound model" 2019-11-27 20:25:04 -08:00
Derek Chen
bbce3836f1 ASoC: msm: set pinctrl if available on auto machine
Set pinctrl only if available for respective TDM
or MI2S interface on auto machine driver.

Change-Id: I2b9a43f4958a6ad9ed086a77a65cb6dc67cc36a3
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-11-27 15:28:07 -08:00
Laxminath Kasam
4696fffa8c asoc: Audio bringup changes for bengal
Update change for audio playback and record to work
on bengal target with wcd937x codec.

Change-Id: I2f781e2132b018995f30f4192efd08732196cd28
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-27 17:32:41 +05:30
qctecmdr
2949887cc6 Merge "asoc: codecs: update VA_MACRO core voting" 2019-11-26 07:24:29 -08:00
qctecmdr
947edcaa30 Merge "asoc: msm-compress: Replace goto with return in case of invalid value" 2019-11-26 07:03:04 -08:00
qctecmdr
bd8ab50864 Merge "asoc: bengal: Update comments with proper PCM ID info" 2019-11-26 07:01:39 -08:00
Laxminath Kasam
affb8790c5 asoc: codecs: Enable interrupt mask at bootup
Update chip wakeup enable mask at bootup for
headset detection on bengal.

Change-Id: Ic16bbb4dccf1a84140696ac47b340c407f5b41d5
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-26 16:04:17 +05:30
Xiaoyu Ye
b58c0716e4 dsp: lsm: remove the size checking for sound model
Currently q6lsm driver only allows buffer to be allocated for
SVA sound model with size larger than 512 byte in function
q6lsm_snd_model_buf_alloc.This causes issue when a valid SVA
sound model is smaller than 512 byte. Since there is no
restriction in ADSP for sound model size, remove this size
checking to allow sound models with smaller size.

Change-Id: I716dc8c0e1a4e3189cd334ef692ff07f3e4635db
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2019-11-25 11:38:14 -08:00
Harshal Ahire
6b5e14d72d dsp: Add cmd locks to fix synchronization issues
Add mutex locks in q6core_send_get_avcs_fwk_ver_cmd()
and q6core_map_mdf_shared_memory() functions to fix
command-response synchronization issues in race conditions.

Change-Id: Ibdf6788b51965bd37245c611683102c600ca8eb4
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2019-11-25 19:31:22 +05:30
Linux Build Service Account
1e4e99502b Merge "ASoC: rx-macro: Update rx droop based on sampling rate" into audio-drivers.lnx.4.0 2019-11-24 23:58:23 -08:00
Linux Build Service Account
16963513ea Merge "asoc: wcd938x: Fix swr get logical addr fail during SSR" into audio-drivers.lnx.4.0 2019-11-24 23:58:14 -08:00
Linux Build Service Account
e96eb4e5b2 Merge "soc: soundwire: Update check link status for master init" into audio-drivers.lnx.4.0 2019-11-24 23:57:22 -08:00
Linux Build Service Account
4c9e23db08 Merge "soc: soundwire: Set slave host_irq interrupt mask for all slaves" into audio-drivers.lnx.4.0 2019-11-24 23:57:13 -08:00
Harshal Ahire
021f8805a1 asoc: codecs: update VA_MACRO core voting
Update entry for core voting in VA_MACRO.

Change-Id: Iecc1035e04b9cd0f69e33e93643294ba879da63b
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2019-11-24 17:46:30 +05:30
Derek Chen
0fdd8a1fde ASoC: msm: add routing from MM21 to QUAT MI2S RX
Add routing from Multimedia21 frontend to QUAT
MI2S RX backend.

Change-Id: I94484d1a0d2cdbc99174215417b0c33a5852ea8f
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-11-23 22:51:31 -08:00
Ajit Pandey
2d71d6d099 dsp: adsp-loader: Add check around bytes read from nvmem cell
nvmem_cell_read() return no of bytes read in 'len' variable and
allocates similiar bytes of memory for buffer. Copy only these
number of bytes from buf to avoid out of bounds issues.

Change-Id: I712e5058d15deba939b6a743fcf5bff33ac51f84
Signed-off-by: Ajit Pandey <ajitp@codeaurora.org>
2019-11-22 17:50:27 +05:30
Laxminath Kasam
c6974d0dad asoc: bengal: Update comments with proper PCM ID info
Update PCM ID with correct values in comments.

Change-Id: Ie456481aa57f0adebb20921d8d0f0d25c7b714e0
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-22 15:21:08 +05:30
qctecmdr
32ece77c6f Merge "ASoC: wsa883x: Add support for interrupt handling and variant" 2019-11-21 21:59:26 -08:00
qctecmdr
4faacac8ab Merge "soc: soundwire: Avoid bus clash during clock stop" 2019-11-21 08:43:06 -08:00
qctecmdr
458e1f1e14 Merge "soc: swr-mstr: Fix unbalanced enable for wakeup irq" 2019-11-21 08:39:07 -08:00
qctecmdr
e5c87b6e4f Merge "asoc: codecs: avoid crash after diconnecting DP cable" 2019-11-21 08:37:08 -08:00
Laxminath Kasam
cafe073cf1 soc: soundwire: Update check link status for master init
After master init sets COMP_CFG, wait for soundwire link
status to be connected for SWR version 1.6. Update wait
for soundwire link disconnect for all masters.

Change-Id: I0c0b34f225f88f1b3838b0aa653b57b2c7c0cc40
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-21 12:09:17 +05:30
Sudheer Papothi
8a8b12b245 soc: soundwire: Update ssp period for fractional sample rates
Frame sync for fractional sample rates is different. Update
ssp period based on frame sync of fractional sample rate
for synchronization of the data channels.

Change-Id: I25eaa5195abcdfad54cfed09beb0abe5aff2499a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-11-21 11:07:38 +05:30
qctecmdr
edc7d1364c Merge "asoc: codecs: register notifier for all bolero codec variants" 2019-11-20 07:07:21 -08:00
qctecmdr
c0692e7848 Merge "asoc: codecs: bolero: Do not process ssr disable if already down" 2019-11-20 06:48:53 -08:00
qctecmdr
75d847e3da Merge "soc: soundwire: Update soundwire register access sequence" 2019-11-20 06:47:29 -08:00
qctecmdr
c41eaf06bb Merge "soc: soundwire: Update comp status check for SWR version 1.6" 2019-11-20 06:46:27 -08:00
qctecmdr
ce47979cec Merge "asoc: codecs: Add NULL check before calling bcs_enable callback function" 2019-11-20 06:45:37 -08:00
Laxminath Kasam
9a37b81cd4 asoc: wcd938x: Fix swr get logical addr fail during SSR
During SSR, sometimes swr get logical addr fails.
Add sufficient delay after reset and retry logic
for get logical addr.

Change-Id: I2a932e99896e0055f3b35f9b251008612f43b79f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-20 19:18:50 +05:30
Laxminath Kasam
44cedb8f7d soc: soundwire: Set slave host_irq interrupt mask for all slaves
On receive of change enum slave status interrupt, update
slave host_irq bit for all attached slave dev_nums.

Change-Id: Idaad7a73a7ba9ab271f3fb6974f8d09df3f957b8
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-20 17:37:23 +05:30