Commit grafiek

1453 Commits

Auteur SHA1 Bericht Datum
Linux Build Service Account
da740e4b0b Merge "soc: soundwire: Handle interrupts based on soundwire version" 2019-02-27 14:00:36 -08:00
Linux Build Service Account
1ede4485f7 Merge "ASoC: wcd938x: Clear tx hold hpf after device path setup" 2019-02-27 11:28:29 -08:00
Linux Build Service Account
9eac585aa4 Merge "audio-kernel: asoc: ipc: add support for MDSP target" 2019-02-27 02:57:33 -08:00
Linux Build Service Account
d60c66330d Merge "asoc: Add sources to dai links for concurrent audio record" 2019-02-27 01:15:35 -08:00
Linux Build Service Account
dcd3cb3de2 Merge "ASoC: rx-macro: Enable hph idle detect feature" 2019-02-27 01:15:35 -08:00
Linux Build Service Account
16470427d0 Merge "asoc: Add support for Aptx Adaptive decoder" 2019-02-27 01:15:33 -08:00
Linux Build Service Account
b24eed47e3 Merge "audio-kernel: dsp: Add needed exports" 2019-02-27 01:15:32 -08:00
Linux Build Service Account
b5e985e40c Merge "asoc: codecs: Add pm6125_divclk entry" 2019-02-27 01:15:31 -08:00
Linux Build Service Account
865c73dda2 Merge "asoc: sm6150: Correct codec_root entry creation logic" 2019-02-27 01:15:30 -08:00
Linux Build Service Account
23ce3cad70 Merge "asoc: sm6150: Fix logic in comparison of sound card name" 2019-02-27 01:15:29 -08:00
Linux Build Service Account
4b44ce5637 Merge "ASoC: wcd-mbhc: Disable moisture_en when duty cycle is enabled" 2019-02-27 01:15:28 -08:00
Linux Build Service Account
87219bb7e3 Merge "asoc: qcs405: enable lineout booster GPIO" 2019-02-26 19:54:22 -08:00
Linux Build Service Account
8c40496013 Merge "dsp: adm: change sample rate for FLUENCE_EF module" 2019-02-26 19:38:40 -08:00
Linux Build Service Account
f1fb31dad3 Merge "ASoC: wcd937x: Enable surge protection for talos" 2019-02-26 19:38:39 -08:00
Linux Build Service Account
e0db029111 Merge "ASoC: sm6150: Enable moisture detection polling on Talos" 2019-02-26 19:38:38 -08:00
Linux Build Service Account
6e9de554df Merge "asoc: update be_name and adm_programable_channel_mixer parameters" 2019-02-26 19:38:37 -08:00
Linux Build Service Account
d7b38e7a01 Merge "codecs: reduce error log rate" 2019-02-26 19:38:37 -08:00
Linux Build Service Account
c496cb0f6d Merge "dsp: validate token before usage as array index" 2019-02-26 19:38:36 -08:00
Linux Build Service Account
a14c0fbcd9 Merge "asoc: sm6150: Add support for tasha snd card variants" 2019-02-26 19:38:35 -08:00
Linux Build Service Account
f6aacbcc7b Merge "dsp: Check ec ref rx port against AFE_PORT_INVALID" 2019-02-26 19:38:34 -08:00
Linux Build Service Account
dacd65b4e4 Merge "asoc: Add routing controls for SLIM_1_TX" 2019-02-26 19:38:33 -08:00
Sudheer Papothi
d19d0c5636 soc: soundwire: Handle interrupts based on soundwire version
Some of the interrupt status bits of soundwire interrupt registers
are different in different versions of soundwire. Change is to
handle the interrupts based on soundwire version.

Change-Id: Icac65c9986a3d5724da6343b4202931f04f57f25
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-02-27 07:28:26 +05:30
Aditya Bavanari
5b2d30fa26 asoc: sm6150: Correct codec_root entry creation logic
Create codec root entry only if it is not
created already in proc directory to avoid failures
in codec version entry enumeration.

Change-Id: I8c912be5fb0f229a3b5a088ebb5c0aeea06f67b2
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-02-26 15:23:11 +08:00
Aditya Bavanari
054e70ec0e asoc: sm6150: Fix logic in comparison of sound card name
Use strlen instead of sizeof in strnstr operations
to return the exact size of sound card name.

Change-Id: Id579a41ed79d4443dac7dd2e709784e9dfa186ac
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-02-26 15:21:06 +08:00
Mangesh Kunchamwar
35e7ec72bb asoc: qcs405: enable lineout booster GPIO
Activate lineout booster GPIO during starting lineout usecase
and disable during shuttingdown the lineout usecase in qcs405.

Change-Id: I83877e6a531efc4b571d9868f1b019af5d9b1b82
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2019-02-26 15:06:40 +08:00
Aditya Bavanari
45e2e65529 asoc: sm6150: Add support for tasha snd card variants
Add DAI links and sound card registration support
for tasha sound card variants.

Change-Id: If93dc1dae2f10f9ac6b8e2e80a9e38cadc14289b
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-02-26 14:56:59 +08:00
Meng Wang
a60b408c5a asoc: kona: enable us/euro function for analog type-c headset
mbhc_mbhc_cfg.swap_gnd_mic is not initialized for analog type-c
headset on Kona which causes headset detection fails.
When analog type-c headset function is enabled on device, initialize
swap_gnd_mic to msm_usbc_swap_gnd_mic to resolve this issue.

Change-Id: Ia8244e41cbfa7c8844b761ff129a7d2cced0dacf
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-02-25 17:02:23 +08:00
Sudheer Papothi
d6c61bd617 ASoC: wcd938x: Clear tx hold hpf after device path setup
During capture path setup, tx path hpf is set to hold.
Clear tx path hpf hold after device path setup.

Change-Id: I3299fc5d84d6e86e23c9ef150c8770ef9d59a870
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-02-23 07:36:18 +05:30
Linux Build Service Account
2b5cb6ac75 Merge "asoc: msm: register wake irq of Tx macro" 2019-02-22 10:36:30 -08:00
Linux Build Service Account
67c7e280fc Merge "asoc: kona: update parameters for RX/TX backend" 2019-02-22 06:55:42 -08:00
Karthikeyan Mani
664bd4aa8d asoc: msm: register wake irq of Tx macro
Register wakeup of TX macro with HW interrupt
line through wakeup irq.

Change-Id: I1120b6155ca88ce6e1f8dcc163fc86227d606a8b
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-21 13:36:30 -08:00
Xiaojun Sang
cf353edbf2 dsp: validate token before usage as array index
Token from DSP  might be invalid for array index. Validate the token
before being used as array index.

Change-Id: I9f47e1328d75d9f9acf7e85ddb452019b6eced0a
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2019-02-21 16:44:51 +08:00
Vatsal Bucha
8bcc97c618 ASoC: rx-macro: Enable hph idle detect feature
Headset Idle detect feature powers off PAs when
there is no signal. Add widget to enable
this feature for headset path.

Change-Id: I4c88057b347e40317578b5eb014053c17d196b85
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-02-20 19:20:12 +08:00
Ralf Herz
a70027da2c asoc: Add sources to dai links for concurrent audio record
Add SEC_MI2S, PRI_SPDIF and SEC_SPDIF as source to dai links for
concurrent audio recordings.

Change-Id: I9c4a46fa4657222ce80b21fd4320715b8c89f36a
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-02-20 03:18:58 -08:00
Chaithanya Krishna Bacharaju
cdde180060 asoc: Add support for Aptx Adaptive decoder
Add support for Aptx Adaptive decoder. Introduce new
get and put for ABR feedback decoder controls since
same decoder config format is required to be passed
by client in regular and feedback decoder configuration.

Change-Id: I96d9daef2a0967788640c2efb5478119eeae48ab
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-02-20 19:07:08 +08:00
Chaithanya Krishna Bacharaju
4a466532e4 dsp: Add support for Aptx Adaptive decoder
Add support for Aptx Adaptive decoder. Introduce flag
to indicate ABR feedback decoder configuration to
differentiate from regular decoder configuration.

Change-Id: I272e0a9572a56e878f7ad1385514b3be7010145a
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-02-20 19:05:55 +08:00
Aditya Bavanari
94eb98b659 asoc: codecs: Add pm6125_divclk entry
Add pm6125_divclk entry in pmi clock
array to support tasha codec in trinket target.

Change-Id: Ib2bacbeebb48d9b711abbc9f923a3b4b22cd7629
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-02-20 03:04:25 -08:00
Josh Kirsch
6ec6971e34 audio-kernel: asoc: ipc: add support for MDSP target
Add support for MDSP based targets.

Change-Id: Iac1402db89b321e85d4ccdb3863d697484c8251e
Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
2019-02-20 19:04:04 +08:00
Josh Kirsch
2253309313 audio-kernel: dsp: Add needed exports
Add needed exports in q6afe. These are
needed for sdxprairie drivers where LPASS
provides the clock.

Change-Id: Icd8256153523c8827ffd65eda1152ef9ad355119
Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
2019-02-20 19:02:33 +08:00
Vatsal Bucha
e1728c5c3c ASoC: wcd-mbhc: Disable moisture_en when duty cycle is enabled
Moisture Detection should be disabled at init if duty cycle is enabled.

Change-Id: If398928a680174d981b9baefe02d9efd4e21766e
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-02-20 19:00:12 +08:00
kunleiz
1529b55bb8 dsp: adm: change sample rate for FLUENCE_EF module
FLUENCE_EF module in COPreP topology doesn't support
44.1Khz sample rate. Set sample rate to 16Khz for
VPM_TX_DM_FLUENCE_EF_COPP_TOPOLOGY, which contains
FLUENCE_EF module.

Change-Id: I527da1a70cacba1014b2a706216172d12066b909
Signed-off-by: kunleiz <kunleiz@codeaurora.org>
2019-02-20 02:59:09 -08:00
Vatsal Bucha
7aa2f97f60 ASoC: wcd937x: Enable surge protection for talos
Enable surge protection feature for talos.

Change-Id: If1a5e4d60a80f288825ee0e39645166f0cb9446f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-02-20 18:58:34 +08:00
Vatsal Bucha
3c7524b673 ASoC: sm6150: Enable moisture detection polling on Talos
Enable polling when moisture is detected on Talos.

Change-Id: Ice463c8bbbbd5de8b2b8c02cbce2543243b10703
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-02-20 18:54:35 +08:00
Meng Wang
f016d3089f asoc: update be_name and adm_programable_channel_mixer parameters
Some new backends are added and update be_name for channel mixer.
Update adm_programable_channel_mixer parameter to support record
echo from RX.

Change-Id: I628292112f558eca9301c67b36e6de41924f27d5
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-02-20 18:32:11 +08:00
Samyak Jain
810e42a354 asoc: Add routing controls for SLIM_1_TX
Add routing controls for SLIM_1_TX for compress capture.

Change-Id: I8d350ebc60cc081e7027352ddd77ebbb59294189
Signed-off-by: Samyak Jain <samyjain@codeaurora.org>
2019-02-20 02:24:16 -08:00
Chaithanya Krishna Bacharaju
8b0abba9d7 dsp: Check ec ref rx port against AFE_PORT_INVALID
ec ref rx port is defined as integer and it is
set to 0xFFFF (AFE_PORT_INVALID) when ec controls are reset.
Due to this the current check against -1 (0xFFFFFFFF) in
adm open will always return true even after controls are reset.
This leads to adm open failures in case no ec ref channels are
set as part of record usecase. Avoid this by checking ec ref rx
port against AFE_PORT_INVALID.

Change-Id: I0d52bbe2a980d495933239315e6bba193a18567e
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-02-20 16:51:01 +08:00
Linux Build Service Account
5bb681434b Merge "dsp: voice_mhi: reset vote count at modem restart" 2019-02-19 23:04:01 -08:00
Xiaojun Sang
72cea1a23c codecs: reduce error log rate
Huge volume of log prints out at error. Reduce the redundant log.

Change-Id: I761d5953614d039b7a725926c38adee1beeeec41
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2019-02-18 17:37:38 +08:00
Meng Wang
574f494777 asoc: kona: update parameters for RX/TX backend
Samplerate, channels and bit rate are not updated for
MSM_BACKEND_DAI_WSA_CDC_DMA_RX_*, MSM_BACKEND_DAI_RX_CDC_DMA_RX_*,
MSM_BACKEND_DAI_WSA_CDC_DMA_TX_*, MSM_BACKEND_DAI_TX_CDC_DMA_TX_*.
Add hw_params_fixup function for these BE DAIs.

Change-Id: Ia21f1cf5742e3acc6549319dcedfde07233ed161
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-02-18 15:48:53 +08:00
Linux Build Service Account
914aaa0a41 Merge "asoc: codecs: wcd938x: remove on demand vdd buck" 2019-02-17 00:21:51 -08:00