Commit Graph

2846 Commits

Author SHA1 Message Date
qctecmdr
1164aa6f4a Merge "asoc: wcd938x: adjust swr sequence for wcd mic recording" 2020-05-10 05:35:13 -07:00
qctecmdr
51075bb60c Merge "asoc: codecs: Add delay to eliminate playback pause post SSR on hs" 2020-05-10 05:35:13 -07:00
qctecmdr
a7e2d0d2b4 Merge "asoc: bolero: Fix AMIC TX pop on bolero 2.1" 2020-05-10 05:35:13 -07:00
qctecmdr
3dc027a3da Merge "asoc: Fix port collision interrupt in WSA" 2020-05-10 05:35:13 -07:00
qctecmdr
320ef023a6 Merge "asoc: lahaina: add proxy ports for call screening in machine driver" 2020-05-10 05:35:12 -07:00
qctecmdr
4e225c6408 Merge "Revert "ASoC: wsa883x: Add support for VBAT monitor"" 2020-05-10 05:35:12 -07:00
qctecmdr
1b0ebc41e0 Merge "ASoC: add null check before use" 2020-05-05 23:55:58 -07:00
qctecmdr
cb9553d699 Merge "include: uapi: update headers for upstream compliance" 2020-05-05 23:55:58 -07:00
qctecmdr
dfbf3ea4bd Merge "ASoC: swr-haptics: Cleanup on the error printings" 2020-05-05 23:55:58 -07:00
qctecmdr
30ce32183a Merge "asoc: wsa-macro: Update VI sense setting based on pcm rate" 2020-05-05 23:55:58 -07:00
qctecmdr
5ce30bec7f Merge "dsp: q6adm: add ADM_AUDPROC_PERSISTENT cal type" 2020-05-05 23:55:58 -07:00
qctecmdr
b0afb2d28b Merge "bolero: tx-macro: Fix audio distortion during amic record" 2020-05-05 23:55:58 -07:00
qctecmdr
90ff248f0f Merge "config: Enable digital codec resource manager config" 2020-05-05 23:55:57 -07:00
qctecmdr
bbe7295d17 Merge "asoc: update tx frame config for soundwire port" 2020-05-05 23:55:57 -07:00
qctecmdr
b46fa31c83 Merge "asoc: codecs: Add BCS channel select mixer control" 2020-05-05 23:55:57 -07:00
qctecmdr
1727055d70 Merge "asoc: wcd938x: Add vdd-buck as on demand supply" 2020-05-05 23:55:57 -07:00
qctecmdr
47d276273d Merge "asoc: add wcd937x codec support in machine driver" 2020-05-05 23:55:57 -07:00
qctecmdr
54255588ac Merge "soc: swr-mstr-ctrl: Remove ssr_lock handling" 2020-05-05 23:55:57 -07:00
qctecmdr
e6d77f45a9 Merge "asoc: wcd937x: enable wcd937x codec driver compilation." 2020-05-05 23:55:57 -07:00
qctecmdr
487f207311 Merge "asoc: lsm: hold wakelock when keyword is detected" 2020-05-05 23:55:57 -07:00
qctecmdr
ebb1183db3 Merge "asoc: Add null check for kctl private_data in volume controls" 2020-05-05 23:55:57 -07:00
Vignesh Kulothungan
c2757e5d4d ASoC: add null check before use
Add null check to validate pointer before use.

CRs-Fixed: 2673395
Change-Id: Ief4785c8f6c9700204635df4d2efd35290d2690d
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-05-01 01:53:25 -07:00
Vignesh Kulothungan
7da74cbc8a ASoC: codecs: add device down ops for swr dmic
When SSR/PDR occurs during record usecase, swr dmic's need
to be shutdown before WCD938x is set to reset low, since swr dmic's
depend on WCD938x for mic bias.
The swr dmic's are shutdown from sound wire master
control during SSR/PDR via driver ops, before WCD938x is shutdown.

Change-Id: I987833b7f44692ff4c91954d65623a17f6b0abdc
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-05-01 01:43:25 -07:00
Vignesh Kulothungan
667343a606 include: uapi: update headers for upstream compliance
Fix uapi headers to work with KERNEL_HEADER_TEST and UAPI_HEADER_TEST.
Use __uX instead of uintX_t.
Use __sX instead of intX_t.
Use _Bool instead of bool.

Change-Id: I8c12efb728081716e49aea294f65ddfbae437267
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-04-30 23:55:15 -07:00
Laxminath Kasam
748a29b92c asoc: Add null check for kctl private_data in volume controls
In platform driver volume controls, add null check
for kctl private data before access.

CRs-Fixed: 2611397
Change-Id: I49bdac2bb780a7116e54c20bf5f0d01f13a53165
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-29 23:27:49 -07:00
Laxminath Kasam
1ecf8184d2 asoc: wcd938x: Add vdd-buck as on demand supply
On lagoon, vdd-buck need to be dynamic supply.
Add required support to handle buck as dynamic supply.

Change-Id: If6c27fffe0d0c44f178e61a6eae6ef63775c8988
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-29 23:26:53 -07:00
Laxminath Kasam
942fe13e42 asoc: bolero: Fix AMIC TX pop on bolero 2.1
For bolero 2.1, amic connect on any SWR input.
Update API to check amic usecase.

Change-Id: Iced7df39b0dbaf83e77a72536e55223d3bda2289
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-29 23:26:34 -07:00
Prasad Kumpatla
bd2c17661b asoc: codecs: Add delay to eliminate playback pause post SSR on hs
Add delay in post ssr to eliminate playback pause on euro headset.On
post ssr hs detected as hp due to where pa become on before the completion
of wcd_correct_swch_plug workqueue which lead to detect plug_type
as hp.

Change-Id: Ie114fcd0458d9f5edebeee087c90600c3b0c3da2
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-04-29 23:26:14 -07:00
Prasad Kumpatla
a804ab121b asoc: Fix port collision interrupt in WSA
During multiple PDR usecases, due to sync issues
port collision interrupt is observed.
set wsa state to device down  before cancelling the ocp
workqueue and bail out from the workqueue when wsa state
is set to device down.

Change-Id: Ibefb338c1d6d2901b8773928fa2c0c48b51ac6f7
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-04-29 23:25:56 -07:00
Aditya Bavanari
cc58384bd8 config: Enable digital codec resource manager config
Enable digital codec resource manager config for Lahaina,
kona, lito and bengal targets.

Change-Id: Ie41a9e61032d20d4deaa95b0669c509ff9b14968
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-04-29 23:23:44 -07:00
qctecmdr
93afa626ed Merge "asoc: fix prepare error in pulseaudio loopback cases" 2020-04-29 22:27:55 -07:00
qctecmdr
5cf3663e4e Merge "dsp: Add spinlock to protect audio client" 2020-04-29 22:27:55 -07:00
qctecmdr
a7157ee9fa Merge "ASoC: msm-compress: Add NULL check in msm_compr_set_volume" 2020-04-29 22:27:55 -07:00
qctecmdr
723a62beeb Merge "ASoC: codecs: check component pointer before use" 2020-04-29 22:27:54 -07:00
qctecmdr
8ff0eb72f9 Merge "ASoC: wcd938x: Do not enable hold_off while enabling watchdog" 2020-04-29 22:27:54 -07:00
qctecmdr
6fb66eda12 Merge "uapi: add ADM_AUDPROC_PERSISTENT cal type" 2020-04-29 22:27:54 -07:00
qctecmdr
5c661788c7 Merge "ASoC: swr-haptics: Update the configuration and gain settings" 2020-04-29 22:27:54 -07:00
qctecmdr
f577bd0be4 Merge "ASoC: wsa883x: Check for dereference before access" 2020-04-29 22:27:54 -07:00
qctecmdr
e0d8ac9017 Merge "asoc: lahaina: add frontend MM31 and MM32 for haptics" 2020-04-29 22:27:54 -07:00
qctecmdr
255f95ddd3 Merge "asoc: rouleur: Enable rouleur codec driver compilation" 2020-04-29 22:27:54 -07:00
qctecmdr
8707284023 Merge "ASoC: wcd-mbhc: Fix playback pause during lineout insertion" 2020-04-29 22:27:54 -07:00
qctecmdr
f4444aec8c Merge "asoc: Add separate array for TDM BE dai links" 2020-04-29 22:27:54 -07:00
qctecmdr
184a32dbe4 Merge "ASoC: wcd937x: Fix headset record pop during SSR" 2020-04-29 22:27:54 -07:00
qctecmdr
476664c177 Merge "soc: swr: Mask bus clash interrupt" 2020-04-29 22:27:54 -07:00
qctecmdr
1cd62679d5 Merge "ASoC: wsa883x: Enable WSA883x codec driver compilation." 2020-04-29 22:27:54 -07:00
qctecmdr
42292dc0cd Merge "asoc: codecs: Update va_macro fix for SVA for bolero 2.1" 2020-04-29 22:27:54 -07:00
qctecmdr
8310f644b9 Merge "asoc: codecs: fix incorrect micbias value set at rouleur" 2020-04-29 22:27:54 -07:00
Aditya Bavanari
56ac5b3ace soc: swr-mstr-ctrl: Remove ssr_lock handling
During SSR and headset detection/removal interrupt
concurrencies, ssr_lock can lead to serv reg ack timeout
issues. Remove this synchronization to avoid this issue.

Change-Id: I242a013a7e9d833db21d737cbdfea2d84bbd29fa
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Signed-off-by: Akhil Karuturi <akarutur@codeaurora.org>
2020-04-29 03:34:28 -07:00
Aditya Bavanari
f1c3f00c05 soc: Vote or unvote core and audio hw based on count
In order to synchronize the core and audio hw votes
in SSR use cases, vote or unvote for these
based on clock count.

Change-Id: I0047e2cc689cc96b34992e5f6f59dae84d1d4e4b
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-04-29 03:32:56 -07:00
Sudheer Papothi
80ef65d015 Revert "ASoC: wsa883x: Add support for VBAT monitor"
This reverts commit eecf60dcb5.

Change-Id: Id5cd06a70aab59e0bbd83985526078572d126457
2020-04-29 11:53:16 +05:30