Grafico dei commit

2465 Commit

Autore SHA1 Messaggio Data
Meng Wang
c0c263db97 asoc: codec: add io header file
Add IO header file to call iowrite32 and ioremap.

Change-Id: I742266b7653c2731fa232fa7d2ebeb916a57a129
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-12-25 15:04:25 +08:00
Vignesh Kulothungan
d71ec81bb0 audio: update kernel version reference
Update kernel version references from 4.19 to 5.4.
Update symbolic links to new kernel version files.

Change-Id: I38baa52218b16e0b0c86ad898912d29ec4d3d516
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-19 17:04:52 -08:00
Vignesh Kulothungan
231edb7422 include: uapi: Modify headerfiles copyright format
Update copyright format to comply with guidelines.

Change-Id: I79a02149b2238ac53523fc3966f3620e51ec1045
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-19 16:59:44 -08:00
Vignesh Kulothungan
a97bd5f855 msm: audio: change uapi include header files directory
Change the directory structure of uapi headers. The existing
directory structure overwrites kernel headers in /usr/include/sound
and /usr/include/linux. Hence move audio uapi headers to
/usr/include/audio folder.

Change-Id: I14ef211a65605e798174087a3f322c64768fbfc7
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-19 16:58:59 -08:00
Vignesh Kulothungan
92187a5038 audio: Remove android make files
Remove android make files from audio tech package.

Change-Id: I21770bf64cef2bc767cdc81b0b864efff135bf84
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-19 16:55:09 -08:00
qctecmdr
02c598e26c Merge "asoc: bengal: set format param mask for SLIM_7_TX backend" 2019-12-13 04:48:54 -08:00
qctecmdr
23f17232f7 Merge "ASoC: bolero: Fix voice activation not working on SWR MICs" 2019-12-13 04:46:11 -08:00
qctecmdr
760b872a49 Merge "asoc: codecs: Synchronize fs gen sequence updates" 2019-12-13 04:44:31 -08:00
qctecmdr
e3003bb845 Merge "asoc: update open read call based on ASM version" 2019-12-13 04:42:43 -08:00
qctecmdr
89506b0c4d Merge "asoc: wcd937x: Avoid clk disable at aux dac" 2019-12-10 05:56:49 -08:00
qctecmdr
c8fb2d5952 Merge "soc: soundwire: Fix type of swr addr to support 32bit arch" 2019-12-10 05:55:56 -08:00
Aditya Bavanari
7100fb8474 asoc: codecs: Synchronize fs gen sequence updates
Synchronize the bolero fs gen sequence updates
in order to avoid race conditions.

Change-Id: Idb95dcf1d5f5f4d24ab507ccd221d399a6b5a021
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-12-08 23:19:05 -08:00
Prasad Kumpatla
ee5d037b21 asoc: bengal: set format param mask for SLIM_7_TX backend
Enable format mask for SLIM_7_TX backend to fix hardware
params setting failure on bengal target.

Change-Id: I00d7f8a2613c4b396196222e7e6256f896d58cc6
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2019-12-08 23:05:21 -08:00
Vatsal Bucha
efd65f1224 ASoC: bolero: Fix voice activation not working on SWR MICs
Voice Activation is not working from second time on SWR
MICs. Make tx macro registers related to SWR MIC as
volatile to resolve the issue.

Change-Id: Iac52af37d32b53ada193d855949b345da0e47d9c
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-12-08 22:30:19 -08:00
qctecmdr
070e06c2eb Merge "asoc: codecs: bolero: add delay after toggling hpf gate" 2019-12-08 21:58:46 -08:00
qctecmdr
3be7aef864 Merge "dsp: codecs: fix error check for q6audio aio" 2019-12-08 21:56:26 -08:00
qctecmdr
4aa55c6448 Merge "asoc: bolero: add mixer control for LPI enable flag" 2019-12-08 21:54:53 -08:00
Laxminath Kasam
f504f7e2aa soc: soundwire: Fix type of swr addr to support 32bit arch
for 32bit arch based builds, soundwire logical address
fails when compare with dtsi value (64bit). Update addr
type of soundwire slave addr to u64.

Change-Id: Ifda388ca66350a2bc898484cddecbbcab4d3ece4
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-12-06 19:42:34 +05:30
Laxminath Kasam
ef20c8c2d5 asoc: wcd937x: Avoid clk disable at aux dac
Clock disable at aux dac event is not needed
as rx3 widget already disables it.

Change-Id: I67feec194cdae5c6d84efcde0a2931ba8f8440dd
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-12-06 14:48:29 +05:30
qctecmdr
c8be2a68ae Merge "dsp: Synchronize afe apr send pkt commands" 2019-12-05 07:00:00 -08:00
qctecmdr
1cdf70f30f Merge "ASoC: wsa883x: Add support for subsystem restart" 2019-12-05 06:59:12 -08:00
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
Prasad Kumpatla
d4c151d76e dsp: codecs: fix error check for q6audio aio
Fix error check for q6audio audio pointer to
avoid Null pointer dereference.

Change-Id: Icf30cf2f670c07f3118132e378fa43256ddec530
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2019-12-05 11:17:09 +05:30
Meng Wang
4ff8084a36 asoc: bolero: add mixer control for LPI enable flag
Add mixer control for LPI enable flag. The listener
should only be registered for LPI SVA session.

Change-Id: I01e4b0868e3333e1fc60f86444b1cf1c77e25cb7
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-12-05 11:16:51 +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
Aditya Bavanari
d6546e3044 dsp: Synchronize afe apr send pkt commands
Synchronize afe apr send pkt commands to avoid the state
variable modification for multiple commands sent in
parallel. Use the common interface afe_apr_send_pkt
to send the apr pkt.

Change-Id: I17a573a28e227cce882c3330887ae2756ca4addb
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-12-03 15:59:27 +05:30
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