Commit graph

1,484 commits

Author SHA1 Message Date
Linux Build Service Account
fcafe38f3a Merge "asoc: msm: fix FM hosteless capture" 2019-03-05 15:24:53 -08:00
Linux Build Service Account
8de838acd3 Merge "asoc: codecs: bolero: enable gpio and clk in right sequence" 2019-03-05 14:17:18 -08:00
Linux Build Service Account
ecb1c25ff1 Merge "asoc: msm: fix data port collisions for Kona" 2019-03-05 14:17:17 -08:00
Linux Build Service Account
4ef6a037b5 Merge "asoc: check payload length against structure size" 2019-03-05 02:43:27 -08:00
Linux Build Service Account
e354ac3138 Merge "soc: pinctrl-lpi: add changes to support slew rate config" 2019-03-05 02:43:25 -08:00
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
Karthikeyan Mani
f0de756925 asoc: msm: fix FM hosteless capture
Add pcm device for FM hostless capture that uses
MI2S capture.

Change-Id: I72c79aec1c8e093d7e9d045f4da675ca955ffe63
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-03-04 18:57:30 -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
Karthikeyan Mani
39b70f5ff2 soc: pinctrl-lpi: add changes to support slew rate config
Add changes to read slew rate from device tree table
and set the same under set configs list.

Change-Id: I0d7e950d67d34b63c5a6436bb4d10b08a80c2c58
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-03-02 15:54:42 -08:00
Karthikeyan Mani
242c2b8c1a asoc: msm: fix data port collisions for Kona
Enable block packing mode so that soundwire offset2
parameter takes effect and the channels do not overlap.

Change-Id: I9f5c04a8dfbaba87c3c949c7b4c739d0c1039e21
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-03-02 15:26:20 -08:00
Karthikeyan Mani
01f1ba49be asoc: codecs: bolero: enable gpio and clk in right sequence
Enable soundwire gpio before enabling soundwire clock
so that bus clash does not happen when interrupts are
received.

Change-Id: I40983b8837373f1ea7ac8fa6add7c56225ff0592
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-03-01 19:17:12 -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
Xiaojun Sang
4ccf051bef asoc: check payload length against structure size
Payload length must exceed structure size. Otherwise, it may
lead to out-of-boundary memory access.

Change-Id: I090de5116ab04a4ca2b9c485e17617fe9e861ad5
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2019-02-28 08:50:37 +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