Commit graph

1,517 commits

Author SHA1 Message Date
Linux Build Service Account
ae8bc1e1f2 Merge "dsp: q6voice: Check size of shared memory buffer before access" 2019-03-14 06:55:16 -07:00
Linux Build Service Account
59342f5264 Merge "asoc: avoid excessive logging" 2019-03-14 06:55:13 -07:00
Linux Build Service Account
cd01483c9d Merge "asoc: msm-lsm-client: stop lab during lsm close" 2019-03-13 14:32:05 -07:00
Linux Build Service Account
28cf96f41d Merge "asoc: add support to configure MFC in ec ref path" 2019-03-13 13:13:46 -07:00
Linux Build Service Account
7994527b64 Merge "dsp: add support to configure MFC in ec ref path" 2019-03-13 13:13:45 -07:00
Linux Build Service Account
8fd4a210ab Merge "msm: vote for LPASS core while access LPASS registers" 2019-03-13 03:33:04 -07:00
Vatsal Bucha
0714ffdfcb dsp: q6voice: Check size of shared memory buffer before access
Check buffer size in qdsp_cvs_callback before access in
ul_pkt.

Change-Id: Ic19994b46086709231656ec747d2df988b7a512f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-03-12 22:42:21 -07:00
Xiaoyu Ye
f74e89bd89 asoc: avoid excessive logging
Excessive logging by pr_err() could cause audio thread to stuck
in the printing session which results PD down notification timeout.
This eventually can cause ADSP PDR failure. Fix this issue by using
pr_err_ratelimited and dev_err_ratelimited to limit the number of
error messages during the ADSP PDR.

Change-Id: I68b617fef53ebd03ba79fd919bffd8c35e6eb048
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2019-03-12 22:28:30 -07:00
Dhananjay Kumar
242b5b060a asoc: add support to configure MFC in ec ref path
Add support to process ec at channel count other than the
playback channel count by providing ability to set downmixed
channel count and downmixing weights to be used to downmix
ec ref data obtained from playback path.
These configs would be used to explicitly configure MFC module
present in ec ref path, for usecases where ec processing cannot
be done at playback channel count due to algorithmic or resource
limitations.
Also increase the ec ref channel count support to Sixteen from
current max of Eight.

Change-Id: I2297508aedd177580b1c9b2bed3c7c8421507629
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
2019-03-12 22:05:45 -07:00
Dhananjay Kumar
4303439281 dsp: add support to configure MFC in ec ref path
Add support to process ec at channel count other than the
playback channel count by providing ability to set downmixed
channel count and downmixing weights to be used to downmix
ec ref data obtained from playback path.
These configs would be used to explicitly configure MFC module
present in ec ref path, for usecases where ec processing cannot
be done at playback channel count due to algorithmic or resource
limitations.

Change-Id: Iaa80a0f0da3697c55751b2201578252d6466d3b5
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
2019-03-12 22:04:58 -07:00
Chaithanya Krishna Bacharaju
52bb6616c1 asoc: msm-lsm-client: stop lab during lsm close
Buffering is not stopped during lsm close due to
which lab buffers can be queued during teardown of
session. This leads to read being issued even after session
close. Stop lab during close to avoid this. Use correct
return value to indicate errors during lsm start and stop.

Change-Id: I52fa33cebaa3ee6ae60eb2a60bb1e833f2a9d0d6
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-03-12 22:02:10 -07:00
Linux Build Service Account
8766446f90 Merge "asoc: add support for assigning SLIMbus device ID dynamically" 2019-03-12 02:58:38 -07:00
Banajit Goswami
4052afe2c7 asoc: add support for assigning SLIMbus device ID dynamically
SLIMbus device ID can be different for SLIMbus ports on different
targets. Add support for dynamically assigning SLIMbus device ID
at bootup time from device tree.

Change-Id: I5a3b0812085ee53e8cd3bfac96eaaa939fda4106
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2019-03-10 20:40:17 -07:00
Banajit Goswami
83a370dce7 asoc: kona: add back support for Slimbus 7 for BT use cases
BT use cases on Kona target uses Slimbus 7 ports. Add back
support for Slimbus 7 port for BT.

Change-Id: Iaa5128738106fdafabe84831237947c3880de214
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2019-03-09 13:18:26 -08:00
Linux Build Service Account
0b1af544c3 Merge "Initial Android target definition for lito." 2019-03-08 00:25:05 -08:00
Linux Build Service Account
d08a1a3fba Merge "kona: move display port mixers to common block" 2019-03-07 23:33:37 -08:00
Linux Build Service Account
c38af66a58 Merge "dsp: codecs: fix range check for audio buffer copying" 2019-03-06 02:55:37 -08:00
Linux Build Service Account
572dec3fcd Merge "asoc: Add TRUEHD format to list of codes" 2019-03-05 22:25:18 -08:00
Linux Build Service Account
51b0cb7c71 Merge "dsp: Handle media fmt update events" 2019-03-05 22:25:17 -08:00
Linux Build Service Account
c3119154d5 Merge "asoc: Add API for capture path channel cfg" 2019-03-05 22:25:14 -08:00
Linux Build Service Account
a8b5946ade Merge "asoc: Add new channel ID to mark unused channel map slots" 2019-03-05 22:25:13 -08:00
Linux Build Service Account
9728ee8567 Merge "dsp: Add new channel ID to mark unused channel map slots" 2019-03-05 22:25:10 -08:00
Linux Build Service Account
a7377a88c6 Merge "asoc: qcs405: Add devices for concurrent audio record" 2019-03-05 22:25:08 -08:00
Mangesh Kunchamwar
cdd68dbe72 msm: vote for LPASS core while access LPASS registers
When ADSP is in power collapse or island state, it would fail
to access LPASS codec register.Vote for LPASS core to avoid
LPASS power collapse with pmruntime approach while accessing
LPASS registers & TLMM.

Change-Id: I74d037e499fb6f1245b9a1bd1b0a77200608c27b
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2019-03-06 08:50:31 +08:00
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
Salendarsingh Gaud
341574f12b Initial Android target definition for lito.
Initial Android target definition in kernel for lito

Change-Id: I2257391a2265abb4b25c8d2a4ad8823b15cd795d
2019-03-05 01:23:27 -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
Ralf Herz
e3fb995afa asoc: Add TRUEHD format to list of codes
Support TRUEHD coding format in TX path.

Change-Id: Id93c42392b3be86419ddc4c1ae9639b1f3a797ef
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-03-04 21:22:08 -08:00
Ralf Herz
fba2a8270a dsp: Handle media fmt update events
Handle media format update events from ADSP in case of DSP loopback.

Change-Id: I4004759cc77a05f46106d359417f97f0326af19d
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-03-04 21:22:03 -08:00
Ralf Herz
4bbc917e03 asoc: Add API for capture path channel cfg
Add mixer_ctl to set multichannel configuration for capture path.

Change-Id: Ibed2d459b8b3959322bd547fe9b7a3c270ef0550
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-03-04 21:21:40 -08:00
Ralf Herz
49c325c69f asoc: Add new channel ID to mark unused channel map slots
Allow to mark entries in a channel map as unused to prevent mixing other
channels in that slot.

Change-Id: Iefbfb861b796129211e929cb0ddb84041b9f57b0
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-03-04 21:21:31 -08:00
Ralf Herz
fb81b6e796 dsp: Add new channel ID to mark unused channel map slots
Allow to mark entries in a channel map as unused to prevent mixing other
channels in that slot.

Change-Id: I06f7de932dec4d30b2d6cfe04460d07ddad89049
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-03-04 21:21:01 -08:00
Ralf Herz
88aefa8368 asoc: qcs405: Add devices for concurrent audio record
Add dai links to allow for several concurrent audio recordings
from SPDIF and HDMI interfaces on qcs405.

Change-Id: I5f4a2fcf16538f71ad14b3389732366e8d8e718f
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-03-04 21:19:47 -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