提交線圖

1896 次程式碼提交

作者 SHA1 備註 日期
Surendar Karka
38d66474e1 audio-kernel: add support to query presentation position from DSP
Add support to query presentation position from DSP
in system time domain.

Change-Id: I42b4d234ddc256f93c01defbe2c74872a2a2cf3e
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2019-07-05 16:03:04 +05:30
qctecmdr
ae8957e9b4 Merge "audio-driver: configs: Add HDMI Codec for GVM" 2019-07-04 06:00:45 -07:00
qctecmdr
1534fa3eea Merge "dsp: ion: unmap DMA buffer after kernel ion map failure" 2019-07-04 05:58:39 -07:00
qctecmdr
95514749d7 Merge "audio-driver: Update build files for auto LA-GVM" 2019-07-04 05:56:46 -07:00
qctecmdr
5257151bb6 Merge "asoc: codecs: Change TX tuning and reduce RX click and pop" 2019-07-04 05:54:56 -07:00
qctecmdr
76413b65ee Merge "soc: lpi: force lpi runtime suspend during adsp ssr" 2019-07-04 05:52:24 -07:00
qctecmdr
4de5775619 Merge "dsp: Add size check for afe set and get functions" 2019-07-04 05:49:21 -07:00
qctecmdr
9de103a363 Merge "asoc: codecs: bolero: add compander soft reset event" 2019-07-04 04:49:36 -07:00
Meng Wang
ea4ace171f soc: lpi: force lpi runtime suspend during adsp ssr
During adsp SSR, lpi runtime suspend is not called and
hw vote clks are not reset. Force LPI runtime suspend
during adsp SSR to avoid kernel panic.

Change-Id: I153c5826a282d7beb175a41a55e2d6bf5907eb62
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-07-01 16:43:39 +08:00
Xiaojun Sang
ab07f12b3a dsp: ion: unmap DMA buffer after kernel ion map failure
DMA buffer does not unmap after kernel ion map failure. It leads
to unexpected vaddr and memory leak.

Change-Id: I363dd9178a0bcbca601180bfd0a7bd7ef2430d3e
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2019-07-01 14:14:37 +08: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
Karthikeyan Mani
b9d7807f4e asoc: codecs: Change TX tuning and reduce RX click and pop
Update TX requantizer gain coefficients to center
gain errors around zero. To reduce click and pop
on audio playback enable reference buffers of
headphone path in hifi mode and then put it to
the usecase specific power mode.

Change-Id: I0013d6258d5e5a8c92fd0f951d1d89e5906b2faf
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-06-27 17:01:46 -07:00
Derek Chen
809482351a audio-driver: configs: Add HDMI Codec for GVM
Add HDMI Codec module in GVM for auto, to keep
consistent with BoardConfig.

Change-Id: Iba3b0ac1722797a8481ee1a6f857876814ab54ac
Signed-off-by: Timothy Sham <tsham@codeaurora.org>
2019-06-27 13:10:55 -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
Aditya Bavanari
3c259b5e62 dsp: Add size check for afe set and get functions
In afe_get_cal_sp_th_vi_param and afe_set_cal_sp_th_vi_cfg
functions, data size check is not present which might lead to
out of bounds access. Add size checks to fix the same.

Change-Id: I99eca6065e6f5a050527f1bfce2bfcba28123b53
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-06-26 11:01:38 +05:30
Timothy Sham
4a6979f60e audio-driver: Update build files for auto LA-GVM
enable conditional build for audio driver modules for
automotive LA GVM.

Change-Id: I058f3e6ca557f8ca6d02e33e80f6c190b1a2a29e
Signed-off-by: Timothy Sham <tsham@codeaurora.org>
2019-06-25 13:11:38 -07: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
Karthikeyan Mani
c14c27a7c6 asoc: codecs: bolero: add compander soft reset event
Add compander soft reset event that can be requested
from a slave codec to reset at power down to reduce
click and pop noise.

Change-Id: I2f6ff182e258e02979166b0e76b6a1d439b1cf87
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-06-21 14:14:47 -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