コミットグラフ

3113 コミット

作成者 SHA1 メッセージ 日付
Sudheer Papothi
068147d6cb ASoC: swr-dmic: Update soundwire mic probe sequence
Avoid notification registration during soundwire dmic device
probe sequence.

Change-Id: I6c489334b555bc0113b98533ac5af0b68ad4e566
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-07-21 12:13:49 -07:00
qctecmdr
b2ab0d8947 Merge "asoc: rouleur: Fix CnP issues in EAR and LO paths" 2020-07-21 07:30:46 -07:00
qctecmdr
82e12e19d8 Merge "uapi: add cma memory allocation feature flag" 2020-07-17 22:40:14 -07:00
qctecmdr
2e0c46f734 Merge "asoc: adapt to new compressed format header" 2020-07-17 22:40:14 -07:00
qctecmdr
32c54f4e4a Merge "asoc: codecs: Fix mute after SSR issue in rouleur codec" 2020-07-17 22:40:14 -07:00
qctecmdr
d15211304e Merge "ASoC: bolero: Disable rx swr gpio as wakeup capable" 2020-07-17 22:40:14 -07:00
qctecmdr
6720f1b670 Merge "ASoC: msm: Support different POPPs to single COPP" 2020-07-17 22:40:14 -07:00
qctecmdr
1b7dc59d11 Merge "soc: swr: update interval high register" 2020-07-17 22:40:13 -07:00
qctecmdr
d70f2387d0 Merge "dsp: fix mute for AptX Adaptive A2DP streaming" 2020-07-17 22:40:13 -07:00
qctecmdr
33ea77356f Merge "asoc: update error check to avoid fix crash issues" 2020-07-16 23:56:45 -07:00
qctecmdr
4de12ccc8a Merge "asoc: add MM31 playback on USB and BT devices" 2020-07-16 23:56:45 -07:00
qctecmdr
ce0d91646a Merge "ASoC: wsa-macro: Add core vote before accessing registers" 2020-07-16 23:56:45 -07:00
qctecmdr
f40bc141fb Merge "asoc: kona: update sound wire port frame config routing" 2020-07-16 23:56:45 -07:00
Aditya Bavanari
a8cc7390b5 asoc: rouleur: Fix CnP issues in EAR and LO paths
Update the EAR and LO power up and down sequences to
fix CnP issues in rouleur codec.

Change-Id: I7e6d1cc82e9c1358b336c32b1befb7eb1dd9b552
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-07-15 21:49:54 +05:30
Harshal Ahire
39ab7828be dsp: fix mute for AptX Adaptive A2DP streaming
Only load depacketizer module for aptx_adaptive and ldac playback
use-case during dynamic load of BT modules, decoder module loading
not required. 

Change-Id: If7ec559f5cc7ff428b8e0e4fac1f34e7f2469c8e
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2020-07-15 20:25:40 +05:30
Xiaojun Sang
d7e26a7538 asoc: adapt to new compressed format header
snd_enc_generic structure is used to pass the decoder type
and configuration. Reserved[0] contains the decoder type
and reserve[1] onwards the decoder configuration. Adapt
decoder parsing logic accordingly.

Change-Id: Icc0bf27e026e0144e8356abddf7646a6d34e645c
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2020-07-15 10:16:13 +08:00
Viraja Kommaraju
5fdef1b590 ASoC: msm: Support different POPPs to single COPP
For multi COPP feature it could only allow POPPs with same app_type
to connect single COPP. But it's possible to connect different POPPs
with different app_type to single COPP, to achieve this, it should
skip the app_type check when create copp_idx.

Change-Id: I9da6e84b8ef4a5e13d29d71c016b114ea759b94f
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
2020-07-15 01:33:26 +05:30
Sudheer Papothi
e0b041f380 ASoC: bolero: Disable rx swr gpio as wakeup capable
Disable rx swr gpio as wakeup capable to avoid waking up system
during power collapse.

Change-Id: Idd76f8304e61b97e53ca82e407bedbdc9b0f5a7f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-07-14 10:06:09 -07:00
Meng Wang
96262c74ed soc: swr: update interval high register
Update interval high register.

Change-Id: I7c56ba801545f14607796977a976e535cf9da6ca
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-07-14 08:52:40 -07:00
qctecmdr
848466a9cc Merge "dsp: voice: Reset music_info on SSR" 2020-07-14 06:11:20 -07:00
qctecmdr
d36eef9148 Merge "asoc: bolero: Ensure va-macro is registered before other macros" 2020-07-14 06:11:20 -07:00
qctecmdr
a4dc347d72 Merge "asoc: wsa881x: Disable WSA ADC register when teardown" 2020-07-14 06:11:20 -07:00
qctecmdr
ab4679a93f Merge "soc: soundwire: Enable audio core voting" 2020-07-14 06:11:20 -07:00
Faiz Nabi Kuchay
fb77f24b5a asoc: codecs: Fix mute after SSR issue in rouleur codec
Make dev_up true before giving 500 ms delay in case of AATC
variant during BOLERO_WCD_EVT_SSR_UP event.

Change-Id: Ie8306c92a80df69f087f055d425b22f48f319873
Signed-off-by: Faiz Nabi Kuchay <fkuchay@codeaurora.org>
2020-07-13 05:56:45 -07:00
Kunlei Zhang
e0e3201a64 asoc: kona: update sound wire port frame config routing
update sound wire port frame config routing to ensure use
correct port config for device with no WCD.

Change-Id: I1746323230064f51020850cf8e1dbf2c29977bed
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
2020-07-13 17:13:11 +08:00
Xiaojun Sang
7757a73f78 asoc: uapi: add definition for generic decoder in techpack
Add structure and format definition for ALAC, APE, APTX, DSD,
AAC, FLAC, VORBIS and WMA.

Change-Id: Ide8027cf06c8c2f55f34d8a1b5b1b84e05851113
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2020-07-13 11:58:33 +08:00
Sudheer Papothi
de83e87f07 ASoC: wsa-macro: Add core vote before accessing registers
Add core vote before accessing registers to avoid unclocked
access.

Change-Id: I02ce78d71787f5a12c44cd3194dde62682f20037
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-07-11 04:27:42 +05:30
Kunlei Zhang
69b2b83915 uapi: add cma memory allocation feature flag
add cma memory allocation feature flag.

Change-Id: If197e8b837f8153fa97f4736216ba9d84a26c978
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
2020-07-10 20:47:33 +08:00
Surendar karka
f82b056a61 asoc: update error check to avoid fix crash issues
During negative test case if the backend index is out of range
we will observe crash issues, update error check to avoid crashes.

Change-Id: I07531ee538013841f93acd02537ac5a7c1e350ba
Signed-off-by: Surendar karka <skarka@codeaurora.org>
2020-07-10 16:11:29 +05:30
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
Meng Wang
87f632b0be asoc: add MM31 playback on USB and BT devices
Add MM31 playback on USB and BT devices.

Change-Id: I6b3f4b615b4b3923569e14b57ce091e015b7f493
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-07-09 08:37:07 +08:00
Dhananjay Kumar
02aa9f5f33 dsp: voice: Reset music_info on SSR
Reset music_info playback states during SSR to fix incall music session
failure after SSR.
Music delivery session requests are getting ignored if the state is not reset.

Change-Id: I7dd736baa538fb3697c874230c5a9c02f90b6a06
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
2020-07-09 00:11:46 +05:30
Laxminath Kasam
b9ff5ac5b0 asoc: bolero: Ensure va-macro is registered before other macros
As va-macro has fs_clk gen, ensure va-macro
is registered before other macros.

Change-Id: I8283dc11817caf0c208fe231132951a7a79b7d51
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-07-08 19:51:47 +05:30
Sudheer Papothi
db0cc84eb7 soc: soundwire: Enable audio core voting
Audio core vote enables soundwire master and establishes
soundwire link without which soundwire master will not power up.
This change votes for audio core during soundwire runtime
resume and unvotes during soundwire runtime suspend.

Change-Id: I3ca283be42670a56102c4f08c0f207ae9dc4e5c3
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-07-07 15:16:47 -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
Sudheer Papothi
68cbba47d0 Revert "ASoC: bolero: check clock source before clock switch"
This reverts commit 93bc6299f3 and
6cc7f52a6d.

Change-Id: I614b650d6e071b9d1867988ebc88246b9fdc8f91
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-07-08 03:39:55 +05:30
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