Commit Graph

1882 Commits

Author SHA1 Message Date
Romed Schur
3e11dbd71e asoc: qcs405: Add DSD over PCM support for csra66x0 codec
Enable DSD over PCM stereo support of QCS405 and csra66x0 codec.

Change-Id: Iedc8231d6e19f4959f525395e8b0ebc69746d879
Signed-off-by: Romed Schur <rschur@codeaurora.org>
2019-07-04 10:03:57 +02:00
qctecmdr
0983e24039 Merge "ASoC: mbhc: Fix left channel getting disabled in hs_rem_irq" 2019-06-28 22:58:55 -07:00
qctecmdr
87802a6f2d Merge "audio-driver: dsp: Adapt to non sys heap support for GVM" 2019-06-28 22:55:28 -07:00
qctecmdr
25955d588f Merge "asoc: sa8155: Add Quinary TDM backend DAI link" 2019-06-28 22:53:43 -07:00
qctecmdr
58c514f5dd Merge "soc: Handle system suspend for LPI pinctrl" 2019-06-28 22:51:25 -07:00
qctecmdr
481b00d38d Merge "asoc: ignore enable commands if state already matches" 2019-06-28 22:48:51 -07:00
qctecmdr
ae4ec15e67 Merge "audio-driver: update Makefile.am for LV" 2019-06-28 22:47:08 -07:00
qctecmdr
11c8cce88b Merge "asoc: codecs: Fix NULL pointer dereference in wcd9xxx slim probe" 2019-06-28 22:45:29 -07:00
qctecmdr
aa41b233f8 Merge "asoc: codecs: Fix out of bounds access in register show functions" 2019-06-28 22:43:42 -07:00
Weiyin Jiang
431b1c5d9b asoc: ignore enable commands if state already matches
Break without setting rc to error code causes param_id=0 sent to certain
effect module in adsp, If enable flag state for the module is same as
the requested state, ignore the command and continue with next command
to avoid sending param_id=0 to ADSP.

CRs-Fixed: 2478482
Change-Id: I6cddf6f5156562d2c5d6aa6163881992bfa55eeb
Signed-off-by: Weiyin Jiang <wjiang@codeaurora.org>
2019-06-26 14:01:36 +08:00
qctecmdr
5a2bcfb472 Merge "audio-driver: Update build files for LA automotive" 2019-06-25 07:38:18 -07:00
qctecmdr
3ca4cb7d68 Merge "ASoC: msm: add slot offset for QUAT and QUIN TDM" 2019-06-25 07:36:48 -07:00
qctecmdr
8ee9beda4d Merge "ASoC: msm: enable tdm pinctrl config on 8155 machine" 2019-06-25 07:34:19 -07:00
qctecmdr
9d2c763b36 Merge "asoc: wcd938x: wakeup device during headset detection" 2019-06-22 11:15:10 -07:00
qctecmdr
3ad0c39ea6 Merge "soc: soundwire: request lpass core and audio votes" 2019-06-22 11:15:10 -07:00
qctecmdr
c8c7d94214 Merge "ASoC: bolero: tx-macro: Update VA macro clock sequence" 2019-06-22 11:15:10 -07:00
Sudheer Papothi
6a9cb8b6bd asoc: wcd938x: wakeup device during headset detection
Use soundwire device wakeup API to wakeup soundwire master
during headset plug detection.

Change-Id: Icddd558df382146bb2989926d2e92e627b5a844f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-06-21 21:29:49 -07:00
Sudheer Papothi
384addde09 soc: soundwire: request lpass core and audio votes
Soundwire requires lpass core and lpass audio core to be enabled
to receive interrupts and soundwire register read/writes. Change
enables lpass core and lpass audio core in interrrupt service
routine and during register read/writes.

Change-Id: I56da2fc6efe7dfb1a7d59937b123b3972f633448
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-06-21 15:24:16 -07:00
Aditya Bavanari
8aacfcf7ab asoc: codecs: Fix out of bounds access in register show functions
In register show functions, when snprintf returns a negative value
out of bounds access occurs while copying the data to user.
Add return value check on snprintf before copy_to_user
to fix this.

Change-Id: I1eb793721c653bf6d1fbd10f4cea3436ffe6f519
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-06-21 17:25:16 +05:30
qctecmdr
45d02bcf0b Merge "soc: soundwire: reduce the auto suspend delay to one second" 2019-06-21 03:39:03 -07:00
qctecmdr
a74c6e2c7c Merge "ASoC: wcd938x: Update DMIC enable sequence on WCD938x" 2019-06-21 03:37:08 -07:00
qctecmdr
2a6a98ff50 Merge "soc: soundwire: Add support to dump bulk register writes" 2019-06-21 03:35:01 -07:00
qctecmdr
644ead80f7 Merge "ASoC: bolero: Remove unused audio map routings in bolero" 2019-06-21 03:33:04 -07:00
Aditya Bavanari
9584db3c2d asoc: codecs: Fix NULL pointer dereference in wcd9xxx slim probe
When slim device is NULL or pdata allocation fails in wcd9xxx
slim probe, devm_kfree uses slim device leading to a NULL pointer
dereference. Fix this by returning from probe in these scenarios.

Change-Id: I232661d8ba0320469bc4486e7dd82713e9b53d73
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-06-21 13:06:19 +05:30
Sudheer Papothi
296867b416 ASoC: bolero: tx-macro: Update VA macro clock sequence
Update VA macro clock sequence for headset detection during
voice activation usecase to avoid soundwire bus clash interrupts.

Change-Id: Ic004d43aef9c8a9003b3028c122e6fb6a06fa58d
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-06-21 08:25:29 +05:30
Timothy Sham
5f0a52cccd audio-driver: dsp: Adapt to non sys heap support for GVM
Adapt to non sys heap support for SMMU FE driver on GVM of
automotive.

Change-Id: I67f5ca511cea1a7a5c1615868b5b2d74e6b22dac
Signed-off-by: Timothy Sham <tsham@codeaurora.org>
2019-06-20 14:24:41 -07:00
Han Lu
8e1a34cacd asoc: sa8155: Add Quinary TDM backend DAI link
Add backend DAI to support basic playback and record via Quinary
TDM port.

Change-Id: Ia23411fc57da011f9d9c12db17bd64d1a24a06b8
Signed-off-by: Han Lu <hanlu@codeaurora.org>
2019-06-20 14:21:41 -07:00
Cong Tang
fe8dee2aa2 audio-driver: update Makefile.am for LV
update Makefile.am for automotive LV audio driver build.

Change-Id: I1ad1a3de85fdb09818b8c1774919872b619dd0fd
Signed-off-by: Cong Tang <congt@codeaurora.org>
2019-06-20 13:58:56 -07:00
Cong Tang
1fa4e0449c audio-driver: Update build files for LA automotive
enable conditional build for audio driver modules for LA
automotive.

Change-Id: Ifb18ea6f8af531a99e29904c2245424657b42df7
Signed-off-by: Cong Tang <congt@codeaurora.org>
2019-06-20 13:50:31 -07:00
Rahul Sharma
51181d078e ASoC: msm: add slot offset for QUAT and QUIN TDM
add channel slot offset for QUAT and QUIN TDM
and add backend dai links for QUIN TDMs.

Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
Change-Id: I3f67e33d0b7ea69a000f74363b7b0dc54c50d94c
2019-06-20 13:23:00 -07:00
Derek Chen
6208d04bd4 ASoC: msm: enable tdm pinctrl config on 8155 machine
Enable dynamic TDM pinctrl configuration based
on CPU DAI activity on auto 8155 machine drv.

Change-Id: I31ada624f043653018624cdae0542c76dcc1a9a1
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-06-19 14:26:55 -07:00
Xiaoyu Ye
6d8bda3545 asoc: msm-lsm-client: reset app type configs at msm_lsm_close
Currently lsm client driver doesn't reset app type configs at
the end of a session, which causes the previous lsm session's
acdb_dev_id to be cached and reused in the new lsm sessions.
Fix this by resetting app type configs at msm_lsm_close to set
acdb_dev_id to 0.

Change-Id: I2c51201291beb1d4baa4d57c0d5c1ef9777a85ed
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2019-06-18 13:06:32 -07:00
Sudheer Papothi
0016db19a7 soc: soundwire: Add support to dump bulk register writes
Add support to dump soundwire bulk register writes to
analyze port configuration on both soundwire master and
soundwire slave devices.

Change-Id: Ie02b2a0ba40aa5a0b4243022e439e1b545688143
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-06-18 00:44:30 -07:00
qctecmdr
ac2cc5456a Merge "asoc: routing: Add controls to set custom matrix channel mapping" 2019-06-17 21:06:45 -07:00
qctecmdr
1dffa77438 Merge "asoc: bolero: reset all clks after SSR/PDR" 2019-06-17 21:04:15 -07:00
qctecmdr
9ad54a5373 Merge "dsp: Define channel map for 14channels" 2019-06-17 21:01:33 -07:00
qctecmdr
647c7e4d00 Merge "ASoC: Add mixer control path for AFE loopback for Voice Call" 2019-06-17 20:58:12 -07:00
qctecmdr
870d24e0e5 Merge "asoc: udpate qcs405 compress playback dai ops" 2019-06-17 20:55:31 -07:00
qctecmdr
9e87a22bd7 Merge "asoc: Enable digital_mute to support excursion logging" 2019-06-17 20:53:12 -07:00
qctecmdr
e3c45885f5 Merge "asoc: sm6150: Fix MCLK enable/disable sequence in MI2S slave mode" 2019-06-17 20:50:24 -07:00
qctecmdr
b3fb4d1162 Merge "asoc: msm-lsm-client: Initialize started flag in open" 2019-06-17 20:48:21 -07:00
qctecmdr
34e19c301a Merge "ASoC: Kona: Avoid static route between cpu and codec dai" 2019-06-17 20:46:29 -07:00
qctecmdr
d0a1937cbb Merge "asoc: kona: Fix to apply wsa8810 gain settings" 2019-06-17 20:44:52 -07:00
qctecmdr
3c4721396e Merge "asoc: Update max channels for TDM ports" 2019-06-17 20:42:24 -07:00
qctecmdr
bb8a875619 Merge "dsp: Add asm channel map support for 10channels" 2019-06-17 20:39:57 -07:00
qctecmdr
4298c94f33 Merge "asoc: qcs405: Extend cdc dma tx channel count enum to 16" 2019-06-17 20:37:26 -07:00
qctecmdr
fc0e7339fa Merge "asoc: add support to set ADM channels for SLIM_9_TX port" 2019-06-17 20:35:35 -07:00
qctecmdr
2214928d9f Merge "asoc: bolero: remove extra semi-colon to avoid compile error" 2019-06-17 20:33:06 -07:00
qctecmdr
e7afbdeeb6 Merge "soundwire: exit from pm function for LPASS HW Core fails" 2019-06-17 20:30:33 -07:00
qctecmdr
48671babab Merge "asoc: wcd938x: Enable watchdog interrupt" 2019-06-17 20:27:58 -07:00