커밋 그래프

2872 커밋

작성자 SHA1 메시지 날짜
qctecmdr
411fc736f9 Merge "ASoC: lahaina: Update sample rate for speaker protection" 2020-05-14 22:04:36 -07:00
qctecmdr
81b18718b9 Merge "ASoC: dsp: Speaker Protection V4" 2020-05-14 22:04:36 -07:00
qctecmdr
c3c4fd765e Merge "ASoC: update headers for upstream compliance" 2020-05-14 22:04:36 -07:00
qctecmdr
072e3e291c Merge "asoc: codecs: Add default case for switch." 2020-05-14 22:04:36 -07:00
qctecmdr
763894acd7 Merge "asoc: codecs: check the spkr status before access the wsa registers" 2020-05-14 22:04:36 -07:00
qctecmdr
ca1d3b1231 Merge "dsp: codecs: Add spin_lock_irqsave instead of spin_lock" 2020-05-14 22:04:36 -07:00
qctecmdr
55e8b9735a Merge "ASOC: Remove support for ANC headphones" 2020-05-14 22:04:36 -07:00
qctecmdr
564e35a030 Merge "asoc: msm-compress: Reset channel map flag during close." 2020-05-14 22:04:36 -07:00
qctecmdr
0b521bbfad Merge "asoc: add new fe for hearing aid" 2020-05-14 22:04:36 -07:00
qctecmdr
0b7eee39e7 Merge "asoc: lahaina: add fe proxy port for hearing aid" 2020-05-14 22:04:35 -07:00
Prasad Kumpatla
924c7d027c asoc: codecs: Add default case for switch.
Add default case for switch to avoid the
Null pointer dereference for the map and num_ports
variable in for loop.

Change-Id: I59c9dc6e5396bcb409876378c811143da1c81551
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-05-12 23:41:45 -07:00
Vangala, Amarnath
00ee526deb ASoC: dsp: Speaker Protection V4
Support for Speaker Protection V4 feature.

Change-Id: I2237836243a716d4ed3288c9c613bc8d4ec5a282
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-05-13 12:00:26 +05:30
Prasad Kumpatla
521ea726c2 asoc: codecs: check the spkr status before access the wsa registers
Before access the wsa register check the spkr status bit in
power-down sequence.

Change-Id: I5e07ee56e17701275784fd4c413bc214c5893989
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-05-12 22:56:32 -07:00
Laxminath Kasam
8250aa6bfe soc: wsa883x: Update changes for wsa8830
Update DRE_CTL offset to 3 for wsa8830 variant.

Change-Id: I9acab01b0099093b8e427d52e48ba9744c6f5aac
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-05-12 20:42:26 -07:00
Vangala, Amarnath
e4efa1c51f ASOC: Speaker Protection V4 API
API changes for Speaker Protection V4.

Change-Id: I3f00831d90ba0fd11db915cc0af96cf429fc98c9
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-05-13 04:03:36 +05:30
Prasad Kumpatla
b29145e957 dsp: codecs: Add spin_lock_irqsave instead of spin_lock
spin_lock is acquired in process context and trying do the
operation in process context,while the interrupt came and
the same lock is trying to take in interrupt context which
leads to deadlock.To avoid this we are using spin_lock_irqsave
instead of spin_lock.

Change-Id: I9c4a3ac65d92b0612d7c4845212647c51a72065b
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-05-10 22:13:55 -07:00
qctecmdr
e7efdae360 Merge "ASoC: Lahaina: Add support for audio haptics" 2020-05-10 05:35:13 -07:00
qctecmdr
836b9d68ac Merge "ASoC: remove redundant code in dai link defintion" 2020-05-10 05:35:13 -07:00
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
Preetam Singh Ranawat
319590242d asoc: msm-compress: Reset channel map flag during close.
For some of the clips improper channel map is applied when not
set from userspace.
Reset channel map flag to apply default channel map.

Change-Id: Ic128b835ecea632c99fba5b14471fc76e767b80e
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
2020-05-09 17:12:37 -07:00
Akhil Karuturi
3ba03d15fe ASOC: Remove support for ANC headphones
ANC headphones are no longer supported, removed dead code related to the feature.

Change-Id: I3dd51b5b1d9f77fd870947608f8a14fc3f7aeed0
Signed-off-by: Akhil Karuturi <akarutur@codeaurora.org>
2020-05-07 19:51:29 -07:00
Sudheer Papothi
cd507e1f28 ASoC: lahaina: Update sample rate for speaker protection
Support 48KHz sampling rate for speaker protection
backend DAI link.

Change-Id: I2ca284b843ff1bf11c17d2b36a6bbc0339dc8a95
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-05-06 22:46:14 -07:00
Vignesh Kulothungan
e0bdd11269 ASoC: update headers for upstream compliance
Update uapi header reference path to include
path prefix "audio/"

Change-Id: Ic7b1d22910b07be3ffe8d9f02514ed89facea974
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-05-06 11:26:15 -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
05d5298646 ASoC: remove redundant code in dai link defintion
Remove redundant code in dai link defintions,
"num_codecs" is set already via SND_SOC_DAILINK_REG macro.

Change-Id: I2da9c9007a77896e7c4445e94d9766ac0bb5a13e
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-05-01 00:08:16 -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