コミットグラフ

3078 コミット

作成者 SHA1 メッセージ 日付
qctecmdr
779e5fd02d Merge "ASoC: lahaina: start headset detection after soundcard is registered" 2020-07-10 01:59:34 -07:00
qctecmdr
f14fc12662 Merge "soc: swr-mstr: Add delay of 100us after last write during bulk write" 2020-07-10 01:59:34 -07:00
qctecmdr
a24cf2ea0a Merge "ASoC: bolero: Resolve glitch during amic record" 2020-07-10 01:59:34 -07:00
qctecmdr
52c21204de Merge "ASoC: wcd938x: Reduce glitch during headset record" 2020-07-10 01:59:34 -07:00
qctecmdr
a5467e0e4a Merge "dsp: fix compilation issue in dynamic load/unload BT modules" 2020-07-10 01:59:34 -07:00
qctecmdr
38973a8972 Merge "asoc: check param_size before use it in memcpy" 2020-07-10 01:59:34 -07:00
qctecmdr
1b53e55fd0 Merge "ASoC: update swr dmic device down mechanism" 2020-07-10 01:59:34 -07:00
qctecmdr
1ef7ff5ddb Merge "ASoC: lahaina: add be dai link for DSD" 2020-07-10 01:59:34 -07:00
qctecmdr
dd8e5009d5 Merge "asoc: Add check for substream ref_count before access the substream." 2020-07-10 01:59:34 -07:00
qctecmdr
a18ec3d3c8 Merge "asoc: codecs: remove cancel_delayed_work_sync to avoid race condition" 2020-07-10 01:59:34 -07:00
Vignesh Kulothungan
b50df74ac4 ASoC: update swr dmic device down mechanism
Add notification from wcd938x to sound wire dmics
during SSR. Remove device down from dev ops to avoid
deadlock scenarios.

Change-Id: Ifdcbebb748c10deb89ad51ada1a8ce1cf33f2462
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-07-07 15:11:51 -07:00
Harshal Ahire
ed50512138 dsp: fix compilation issue in dynamic load/unload BT modules
Compilation issue addressed in failure case to load
num_modules.

Change-Id: Ieb923074a71f4ddc4c8da379b1169a06ce9267b6
2020-07-07 03:20:28 -07:00
Meng Wang
248a190981 ASoC: lahaina: start headset detection after soundcard is registered
When soundcard registeration fails after headset IRQ is triggered, kernel
panic may happen. Start headset detection after soundcard is registered
in late_probe.

Change-Id: Ibc5cebbf0e3331db1ec89fdcb9082029c510aaf7
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-07-06 18:12:51 -07:00
Vatsal Bucha
b5449b40d7 ASoC: rouleur-mbhc: Fix aux cable detected as unsupported sometimes
Aux cable is detected as unsupported sometimes due to it being
detected as cross conn. Increase hph cross conn threshold to 350mV
so that it detects fine.

Change-Id: I87e4bd36f80d7cd62e06c76acf9c9d06bb6f148a
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-07-03 19:58:01 -07:00
Prasad Kumpatla
ef02f940ae asoc: Add check for substream ref_count before access the substream.
Add check for substream ref count before access the substream.

Change-Id: Iccb6226519e8fddf624f82160a0d8d22641944db
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-07-03 00:58:19 -07:00
qctecmdr
5d06056f5b Merge "asoc: lahaina: add stub fe for wsa capture" 2020-07-03 00:42:07 -07:00
qctecmdr
3b7f4a16ae Merge "asoc: add null check for pcm pointer of snd_pcm_volume" 2020-07-03 00:42:07 -07:00
Vatsal Bucha
39b18cbd38 ASoC: bolero: Resolve glitch during amic record
Glitch is observed during amic record due to improper
sequence being followed. Reduce delay between toggle
of hpf gate to depending on sample rate to resolve glitch.

Change-Id: I8d9810dbc00264662f24532be9338198e6d7316d
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-07-02 20:09:54 -07:00
Vignesh Kulothungan
7b1cfaca64 ASoC: lahaina: add be dai link for DSD
Add BE dai link LPASS_BE_RX_CDC_DMA_RX_5 for DSD
playback usecase.

Change-Id: Iacafab0131100ce6631c376b304f8a5006c326b7
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-07-02 12:58:07 -07:00
Prasad Kumpatla
8508b1a103 asoc: codecs: remove cancel_delayed_work_sync to avoid race condition
Remove cancel_delayed_work_sync in swr_down,to avoid race condition
between skr_pa_event POST_PMD and swr_down.we are taking care of
schedule_delayed_work and cancel_delayed_work_sync in PMU and PMD.

Change-Id: I4f43ffc354ec930dabd7c4a8b2382f6064a24653
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-07-01 23:25:21 -07:00
Vignesh Kulothungan
b629237a0e ASoC: bolero: add rx_macro_rx5 dai for dsd
Add rx_macro_rx5 dai for native dsd playback support.

Change-Id: I52a47e1d908fddda4c9d1a5546f9a00d6b8a7ba4
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-07-01 12:59:17 -07:00
Xiaoyu Ye
e1e34edd16 asoc: check param_size before use it in memcpy
If param_size is not the correct size when it's
passed to memcpy, it could result wrong parameter
to be sent to ADSP by audio driver.

Change-Id: Iaf66a87c405bd0508bb0771c5fe20626f2b75dda
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-07-01 01:11:57 -07:00
Vatsal Bucha
a20b914402 soc: swr-mstr: Add delay of 100us after last write during bulk write
There is no delay after last write during bulk write. Add 100us delay
so as to ensure that last write goes fine.

Change-Id: Ifc1585f30eec639ffd6b80dde2e0365f368349d7
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-06-30 23:11:50 -07:00
qctecmdr
6f1643eac5 Merge "asoc: compress: move compress controls to compress_new" 2020-06-30 19:16:29 -07:00
qctecmdr
db0a7df795 Merge "dsp: Feedback path cfg to support 3rd party spkr protection algorithms." 2020-06-30 19:16:29 -07:00
qctecmdr
dd29f28450 Merge "soc: swr-mstr: Fix KW issue in swrm_remove" 2020-06-29 11:21:31 -07:00
qctecmdr
668ef31d07 Merge "lsm: fix potential Null pointer dereference" 2020-06-29 11:21:31 -07:00
qctecmdr
66099fcea7 Merge "dsp: redefine audio_notifier_init to silence PDR error" 2020-06-29 11:21:31 -07:00
qctecmdr
92b6ef250c Merge "soc: soundwire: Reduce soundwire runtime suspend delay" 2020-06-29 11:21:31 -07:00
qctecmdr
c6f14b5027 Merge "Revert "soc: mstr-ctrl: Retain Audio_HM voting until suspend"" 2020-06-29 11:21:31 -07:00
qctecmdr
59e150f829 Merge "dsp: don't reset rx ec ref channel after adm open" 2020-06-29 11:21:31 -07:00
qctecmdr
81afbb7af9 Merge "asoc: convert pr_info to pr_debug to reduce kernel logs" 2020-06-29 11:21:31 -07:00
qctecmdr
6aa4e7993c Merge "dsp: convert pr_info to pr_debug to reduce kernel logs" 2020-06-29 11:21:31 -07:00
qctecmdr
5a6876340c Merge "ASoC: codecs: handle device disconnect during SSR" 2020-06-29 11:21:31 -07:00
qctecmdr
79f733d947 Merge "ASoC: wcd937x: Add mixer ctl for TX CH power level" 2020-06-29 11:21:30 -07:00
qctecmdr
8383303b0b Merge "ASoC: Resolve error logs printed at bootup" 2020-06-29 11:21:30 -07:00
Vangala, Amarnath
366f76d21c dsp: Feedback path cfg to support 3rd party spkr protection algorithms.
Backward compatibility change to set 'feedback path cfg' to AFE_MODULE_FEEDBACK,
to support 3rd party spkr protection algorithms.

Change-Id: I9af731902fbc5bc69f130a4f30d8fc5f18ceaace
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-06-23 10:14:57 -07:00
Meng Wang
86907313a3 asoc: compress: move compress controls to compress_new
Move compress controls to compress_new API to initialize
compress related mixer controls.

Change-Id: I7038d3c4644d0071477016b186ea0550e92f6214
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-06-22 17:35:26 -07:00
Vatsal Bucha
4bb46e759d ASoC: Resolve error logs printed at bootup
Error logs are printed by default during bootup
due to get function called for all controls.
Remove error logs and not used controls.

Change-Id: I7d73432bcdd0c527ea78b0ec1c9650056eadcfe5
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-06-22 11:19:10 +05:30
Laxminath Kasam
034cd15ba8 Revert "soc: mstr-ctrl: Retain Audio_HM voting until suspend"
This reverts commit d02c7efb35.
and commit 61f235e5bd to avoid AOP
related issues.

Change-Id: I0b8b44bc5cca6bef6bc18c228f08a9c585c79c1c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-06-22 09:40:14 +05:30
qctecmdr
cbbff6809b Merge "soc: swr-mstr: Fix headset detection during sva clk switch" 2020-06-19 23:23:56 -07:00
qctecmdr
dc40c1136d Merge "asoc: wcd938x: Add WCD ADC Mode mask to control modes" 2020-06-19 23:23:56 -07:00
qctecmdr
a0a44eb453 Merge "asoc: update block size for dsd input" 2020-06-19 23:23:55 -07:00
qctecmdr
4d59a93144 Merge "soc: pinctrl-lpi: Add 100msec before resetting hw votes" 2020-06-19 23:23:55 -07:00
xsang
b588d829ad asoc: add null check for pcm pointer of snd_pcm_volume
In platform driver volume controls, add null check for
pcm pointer of struct snd_pcm_volume.

Change-Id: I511a79422eaeced6240849cbb665a289afdc5984
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2020-06-19 20:22:50 +08:00
Vatsal Bucha
a1f8374cf5 ASoC: wcd938x: Reduce glitch during headset record
Enable ADC Mode and tx channel cfg as part of enable_adc.
This should be enabled before enabling bolero dec so as
to reduce glitch or saturation for headset.

Change-Id: I94045d0c3b7b96744afb9e6a9a3eecf0abc5a55f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-06-19 08:56:07 +05:30
Sudheer Papothi
c7cc20abc0 soc: soundwire: Reduce soundwire runtime suspend delay
Reduce soundwire runtime suspend delay for soundwire
to enter into sleep early once the usecase ends.

Change-Id: Idbace0fbe9363f487165865eacf5b85d3be86477
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-06-18 18:41:37 -07:00
Guodong Hu
4d71a88b69 dsp: redefine audio_notifier_init to silence PDR error
CONFIG_MSM_QDSP6_PDR is not enabled on Auto targets.

Change-Id: If7ac374bbe88635eeb328593b4d3a9f01a716c5c
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2020-06-18 02:12:16 -07:00
Xiaoyu Ye
ba1abdc202 lsm: fix potential Null pointer dereference
Pointer "ptr_info_v2" in function msm_lsm_ioctl may be
dereferenced when it's Null. Add a local structure
"info_v2" to avoid this potential Null pointer dereference.

Change-Id: Iabf5c3b1017b4a44b924c80e4d8e6f2c3d2d5f57
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-06-17 23:57:19 -07:00
Vignesh Kulothungan
75f229237a ASoC: codecs: handle device disconnect during SSR
During SSR, when usbc analog device is disconnected, the
respective disconnect interrupt is not handled and hence userspace
is not notified. When ADSP recovers, fsa driver sends a disconnect
notification. So handle device disconnect and notify jack/userspace
through this notification.

Change-Id: Ic695c2267c9289f9528d50202938ec09f634de8a
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-06-17 23:07:21 -07:00