Commit graph

1474 Commits

Autor SHA1 Nachricht Datum
Linux Build Service Account
cc79d879b8 Merge "asoc: routing: add widget connection for FM playback" 2019-03-04 21:40:01 -08:00
Linux Build Service Account
e816c925e4 Merge "asoc: kona: update pcm id for Kona FE" 2019-03-04 21:39:59 -08:00
Linux Build Service Account
34b11a32b1 Merge "adm: undo echo reference rx value reset after open" 2019-03-04 11:44:13 -08:00
Linux Build Service Account
753eedb972 Merge "asoc: add support to set custom channel mixer coefficients" 2019-03-04 11:44:12 -08:00
Linux Build Service Account
c76093dd87 Merge "dsp: q6usm: Check size of payload before access" 2019-03-04 11:44:10 -08:00
Linux Build Service Account
b227c31c2b Merge "dsp: asm: validate payload size before access" 2019-03-04 11:44:09 -08:00
Linux Build Service Account
ddb358dfd7 Merge "dsp: adm: validate ADSP payload size before access" 2019-03-04 11:44:06 -08:00
Linux Build Service Account
16670950a8 Merge "asoc: msm-lsm-client: fix error logging for set session data failure" 2019-03-04 11:44:03 -08:00
Linux Build Service Account
52bdcf758c Merge "ASoC: bolero: Check for valid handle before pm_runtime_resume" 2019-03-01 03:31:30 -08:00
Meng Wang
197cb30bc9 asoc: kona: update pcm id for Kona FE
Update correct PCM id for Kona FE.

Change-Id: I5033f12ef587d8c476f0da7a73a1a35a037db035
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-03-01 13:54:38 +08:00
Meng Wang
bbf7792327 asoc: routing: add widget connection for FM playback
Add connection for RX_CDC_DMA_RX_0 and WSA_CDC_DMA_RX_0
to suppport FM playback.

Change-Id: I406faecd089e063848e9e8b507b1e1a0d1c21454
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-03-01 13:24:14 +08:00
Sudheer Papothi
f2afc390ce ASoC: bolero: Check for valid handle before pm_runtime_resume
Check for valid handle before pm_runtime_resume in bolero register
read/write functions to avoid dereference.

Change-Id: I34d567e7575202817f4fcda784d0f3df2ed77bde
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-03-01 08:09:50 +05:30
Xiaojun Sang
f2f68463a7 adm: undo echo reference rx value reset after open
echo reference value reset after open leads to second SVA session
without echo. Undo the value reset.

Change-Id: Ie6ae357108beed0c8f034a3408c494475376e486
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2019-02-28 17:11:20 +08:00
Dhananjay Kumar
807f7e9521 asoc: add support to set custom channel mixer coefficients
Enhance Channel Mixer control for MultiMedia Frontends to
get custom channel mixer coefficients from userspace and
use it during device routings to control stream to device
channel mappings.

Change-Id: Icf950377dede46b097c8656174af5eb311bf719a
Signed-off-by: Cong Tang <congt@codeaurora.org>
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
2019-02-28 08:57:51 +08:00
Linux Build Service Account
74d9fedcb2 Merge "asoc: codecs: bolero: leave frame sync to default value" 2019-02-27 14:35:14 -08:00
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
Vatsal Bucha
def212b841 dsp: q6usm: Check size of payload before access
Check size of payload array before access in q6usm_callback.

Change-Id: Id0c85209a053f9dfdb53133aeb6b2510ecf18eb8
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-02-27 11:22:02 +08:00
Vatsal Bucha
1c8aec0cfd dsp: q6usm: Check size of payload before access
Check size of payload before access in q6usm_mmapcallback.

Change-Id: Iff0672532c2ea40e7129237a92d8365d6b554cf2
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-02-27 11:19:38 +08:00
Xiaojun Sang
a34ba3f372 dsp: asm: validate payload size before access
Payload size is not checked before payload access. Check size
to avoid out-of-boundary memory access.

Change-Id: Iaa39ee4ea5489bb5579e7b7d5dfada12d88c5809
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2019-02-26 19:12:56 -08:00
Vignesh Kulothungan
3552462ec5 dsp: adm: validate ADSP payload size before access
Check the size of ADSP payload before accessing it.

CRs-Fixed: 2380694
Change-Id: Ib0c0f0bf6c7f7cf659df0eb70a3f66cee580cb66
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-02-26 19:05:27 -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
Karthikeyan Mani
2797084510 asoc: codecs: bolero: leave frame sync to default value
Frame sync of bolero macros need to be at 4KHz default
value.

Change-Id: Ia5399a3c4bee7e0f74115e5ffcb1ed51cbd07639
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-26 13:30:23 -08:00
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