Commit grafiek

2954 Commits

Auteur SHA1 Bericht Datum
Laxminath Kasam
61f235e5bd asoc: bolero: Register for AFE event for all SVA usecases
For island SVA usecase, ensure register for
AFE in-band interrupt.

Change-Id: I24e6dfadfaa38919114000fb09a7906264020cd9
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-06-08 16:23:50 +05:30
qctecmdr
d187ddf230 Merge "asoc: wsa-macro: Fix mixing path on WSA" 2020-06-05 01:54:03 -07:00
qctecmdr
dfa5675e0b Merge "asoc: Fix a memory leak issue when nvmem read returns invalid length" 2020-06-05 01:54:03 -07:00
qctecmdr
b6aaedd76e Merge "dsp: Fix a memory leak issue when nvmem read returns invalid length" 2020-06-05 01:54:03 -07:00
qctecmdr
c1a9199e09 Merge "asoc: codecs: Update LPM voting support for vdd-mic-bias-supply" 2020-06-05 01:54:03 -07:00
qctecmdr
163b145d07 Merge "ASoC: update audio effects config names" 2020-06-05 01:54:03 -07:00
qctecmdr
7a2578cd8a Merge "asoc: msm-cdc-pinctrl: Add alternate pinctrl state for DSD input" 2020-06-05 01:54:03 -07:00
qctecmdr
b32d95eeb5 Merge "Revert "asoc: check payload length against structure size"" 2020-06-05 01:54:03 -07:00
qctecmdr
261249d3f4 Merge "ASoC: swr-haptics: Avoid soundwire resume during subsystem restart" 2020-06-05 01:54:02 -07:00
qctecmdr
344b47efbe Merge "asoc: lahaina: add support to send power mode for voice usecase" 2020-06-05 01:54:02 -07:00
qctecmdr
f90e291bfd Merge "dsp: adm: change channel number for FLUENCE_SM module" 2020-06-05 01:54:02 -07:00
qctecmdr
1aec879743 Merge "asoc: qcs405: Add dai links for hdmi tx" 2020-06-05 01:54:02 -07:00
Akhil Karuturi
eabe747ee3 ASoC: update audio effects config names
Update audio effects config names to be more descriptive
to avoid conflict with kernel config naming convention.

Change-Id: Ie4d9bd0128a9f52138b3a1b94abccc81b8432c1d
Signed-off-by: Akhil Karuturi <akarutur@codeaurora.org>
2020-06-01 23:01:19 -07:00
qctecmdr
1db5a7d432 Merge "asoc: remove asound.h from include list" 2020-06-01 10:27:02 -07:00
qctecmdr
40132db5a5 Merge "soc: soundwire: Fix soundwire bus clock frequency" 2020-06-01 10:27:01 -07:00
qctecmdr
6f1668b5ea Merge "ASoC: lahaina: Add soft dependencies for BT" 2020-06-01 10:27:01 -07:00
qctecmdr
df5af736ea Merge "asoc: swr-haptics: close SWR data channel after stoping playing" 2020-06-01 10:27:01 -07:00
qctecmdr
3938234bc8 Merge "asoc: codec: Add pre ssr up event for all macros" 2020-06-01 10:27:01 -07:00
qctecmdr
709f0c9c23 Merge "ASOC: SPV4 set correct number of speakers." 2020-06-01 10:27:01 -07:00
qctecmdr
8bcb4e964a Merge "asoc: Add digital mute callback function for cdc dma" 2020-06-01 10:27:01 -07:00
qctecmdr
1cb613a506 Merge "asoc: enable TTP generator" 2020-06-01 10:27:01 -07:00
qctecmdr
080607622e Merge "asoc: codecs: Add support to dump rouleur swr slave regs" 2020-06-01 10:27:01 -07:00
qctecmdr
023f5dc0cb Merge "adsp-loader: Add support to load adsp fw name" 2020-06-01 10:27:01 -07:00
qctecmdr
9255140167 Merge "asoc: bolero: Update rx dc droop register setting" 2020-06-01 10:27:00 -07:00
qctecmdr
623f781597 Merge "asoc: codecs: Update rouleur watchdog interrupt sequence" 2020-06-01 10:27:00 -07:00
qctecmdr
0e6beb74b4 Merge "asoc: Add a separate mbhc config for rouleur codec" 2020-06-01 10:27:00 -07:00
qctecmdr
178111f453 Merge "asoc: Add Rx swr master port config for scuba target" 2020-06-01 10:27:00 -07:00
qctecmdr
871c52cb54 Merge "soc:bengal: add proxy ports for call screening in machine driver" 2020-06-01 10:27:00 -07:00
qctecmdr
5481d131cf Merge "asoc: qcs405: add support to set clock drift" 2020-06-01 10:27:00 -07:00
qctecmdr
55f0ab64cd Merge "bolero: rx-macro: Resolve noise on ear path during hph ear concurrency" 2020-06-01 10:27:00 -07:00
qctecmdr
348bebe0e0 Merge "audio-kernel: Fix compile with CONFIG_DEBUG_FS removed" 2020-06-01 10:27:00 -07:00
qctecmdr
5b1a46b8ed Merge "asoc: qcs405: fix pop at end of DSD playback" 2020-06-01 10:27:00 -07:00
qctecmdr
ebc5c9c0d3 Merge "audio-kernel: Synchronize hw vote and unvote requests" 2020-06-01 10:27:00 -07:00
Xiaojun Sang
a12af78a6b Revert "asoc: check payload length against structure size"
This reverts commit 2f35e4997c3e78a83fcdc459f4dcbbbaddc85d2d.
Payload size is specified in ASM callback,
which allocates memory consequently.
The check was unnecessary and incorrect.

Change-Id: I130870148db9c31a885b86f7ea495a8e843958d8
2020-05-30 14:25:49 -07:00
Sanjana B
23efc09986 asoc: qcs405: Add dai links for hdmi tx
Add machine driver dai links for hdmi tx.

Change-Id: Id699d9d0421349418dbb75ffcb6ed5069d15c0a1
Signed-off-by: Sanjana B <sanjb@codeaurora.org>
2020-05-29 10:48:49 -07:00
Sanjana B
7f953e1270 asoc: support for audio over hdmi tx
Add support for audio over hdmi tx.

Change-Id: I4f2108fd14eb22ec4e226220787e0defe512bb5f
Signed-off-by: Sanjana B <sanjb@codeaurora.org>
2020-05-29 10:47:10 -07:00
Sanjana B
79fba80fa6 asoc: msm-cdc-pinctrl: Add alternate pinctrl state for DSD input
Add additional pinctrl states to support alternative function.
This change enables support of alternative pins through pinctrl
framework.

Change-Id: I1f3f9a13345846f1714b4ecaeecde975b5cf6813
Signed-off-by: Sanjana B <sanjb@codeaurora.org>
2020-05-29 10:43:09 -07:00
Sanjana B
fe3356fa53 asoc: ep92: add support for DSD input
Add sysfs nodes for dsd rate and update audio
format sysfs node.

Change-Id: Iefa09f0042bb244e42ee0bf788344d31df690af8
Signed-off-by: Sanjana B <sanjb@codeaurora.org>
2020-05-29 10:41:28 -07:00
Laxminath Kasam
346cb8b0e9 asoc: wsa-macro: Fix mixing path on WSA
Standalone mixing path on WSA is mute.
Enable soundwire path is not happening,
add respective call in mixing path widget
callback to setup soundwire and WSA.

Change-Id: Ia8df0fdcc4a022e4b86c11283dd3606412a2fb69
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-05-29 01:34:57 -07:00
Kunlei Zhang
02b06f5634 asoc: lahaina: add support to send power mode for voice usecase
Add support in lahaina machine driver to send power mode along
with island for voice usecase.

Change-Id: I4223bc7e36644e3843995832798683017de22ece
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
2020-05-29 14:17:48 +08:00
Kunlei Zhang
44c6cc4fdc dsp: Add support to set island cfg and power mode
Add new APIs to set/reset power mode along with
island config before afe_port_start.

Change-Id: Ibd9487b04b691be5ab829cfa32c89953838f3192
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
2020-05-29 12:35:55 +08:00
Sudheer Papothi
a151ba4e13 ASoC: swr-haptics: Avoid soundwire resume during subsystem restart
Soundwire register write from haptics resumes soundwire master during
subsystem down. Avoid soundwire slave register writes when the subsystem
is already down.

Change-Id: I78304b84bfaf882df1b76dbd04a8e063185d3963
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-05-28 03:30:50 +05:30
Kunlei Zhang
b466b00787 dsp: adm: change channel number for FLUENCE_SM module
FLUENCE_SM module in COPreP topology doesn't support
stereo input. Update channel number to mono for
VPM_TX_VOICE_FLUENCE_SM_COPP_TOPOLOGY.

Change-Id: I7de7b49706387b09031f67e1a0271db1825cb81d
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
2020-05-27 17:58:10 +08:00
Aditya Bavanari
d8864856e7 asoc: Fix a memory leak issue when nvmem read returns invalid length
When nvmem cell read returns invalid length the allocated buffer
is not freed. Free the buffer in this scenario to fix
memory leak issue.

Change-Id: I68585c1dd45b0a40c471bf42dea201cd0ebb497f
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-05-27 13:10:35 +05:30
Aditya Bavanari
d053d56f50 dsp: Fix a memory leak issue when nvmem read returns invalid length
When nvmem cell read returns invalid length the allocated buffer
is not freed. Free the buffer in this scenario to fix
memory leak issue.

Change-Id: I2e0010c1cfb2ea03cb4f25abf55e94ce4f0c5fcf
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-05-27 13:03:35 +05:30
Prasad Kumpatla
515fc228ee asoc: codec: Add pre ssr up event for all macros
Add a pre ssr up event in all macros ,where GFMUX reset
to done before set the dev_up flag to true.

Change-Id: I77229ccd0ed68aac841146a89fe7f76961260aea
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-05-26 15:15:51 +05:30
Aditya Bavanari
5423077cb8 asoc: codecs: Update LPM voting support for vdd-mic-bias-supply
For power saving during RBSC, need to vote for minimum
or zero current on load for respective regulator to
enter LPM mode. Add required support from rouleur
to vote for mic bias accordingly during suspend/resume.

Change-Id: Idb2accbc77241e19f688225081e1b68b99c19e29
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-05-26 01:59:58 -07:00
Laxminath Kasam
ec8a0b507c asoc: codecs: Update LPM voting support in codec supplies
For power saving during RBSC, need to vote for minimum
or zero current on load for respective regulator to
enter LPM mode. Add required support from audio WCD/WSA
to vote accordingly during suspend/resume.

Change-Id: I578195b84ba18a0b69dde3b93a3f6461efa85f7f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-05-26 14:22:15 +05:30
Aditya Bavanari
bbf44eeba1 asoc: codecs: Update muxsel registers only when clock counts are not stale
During SSR/PDR use cases, core clock count in different
macros becomes stale and muxsel registers are accessed
leading to NOC errors. Update muxsel registers only after
clock counts are reset after SSR/PDR recovery.

Change-Id: I656f8e7ddc8a92a325c2ba644f1a945cbafb08a0
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-05-21 04:02:29 -07:00
Laxminath Kasam
e65c93c8f1 audio-kernel: Fix compile with CONFIG_DEBUG_FS removed
Add fix for compilation failure after remove
CONFIG_DEBUG_FS.

Change-Id: I94f851916e1c397848aa5d107774f7480a74270f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-05-20 13:00:49 +05:30