Commit Graph

824 次程式碼提交

作者 SHA1 備註 提交日期
Aditya Bavanari
5c1f1aada7 asoc: bolero: Add codec version info to support ADIE RTC
In order to differentiate between targets, codec version info
is used. Assign codec version based on number of macros
registered in bolero.

CRs-Fixed: 2281591
Change-Id: I0f4cf0e49645d3acf0c413ea93d9c0261ac98848
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-08-29 11:41:21 +05:30
Linux Build Service Account
4e3fcbf103 Merge "ipc: fix error message to reflect the correct error" 2018-08-28 04:54:00 -07:00
Linux Build Service Account
3712485b8f Merge "ASoC: wcd937x-mbhc: Add support for headset moisture detection" 2018-08-25 04:00:44 -07:00
Linux Build Service Account
9970fc4999 Merge "ASoC: wcd934x-dsp-cntl: add debugfs node to perform debug dumps" 2018-08-25 04:00:44 -07:00
Linux Build Service Account
24a544956c Merge "asoc: qcs405: add missing dai links" 2018-08-25 04:00:43 -07:00
Linux Build Service Account
98d3a76d95 Merge "asoc: wcd934x: add support for SSR handling using SND event FWK" 2018-08-25 04:00:39 -07:00
Linux Build Service Account
11b869ccae Merge "dsp: asm: initialize variables before use" 2018-08-25 04:00:39 -07:00
Linux Build Service Account
8d1c98c9b6 Merge "asoc: routing: sound tracking updates for qcs405" 2018-08-25 04:00:38 -07:00
Vignesh Kulothungan
61e56a95a3 dsp: asm: initialize variables before use
Initialize flag variables before use in spinlocks.

CRs-Fixed: 2257317
Change-Id: I8b5973c1dfe3c7266a71d4e8ef4d5884b685ae5d
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-08-23 09:52:35 -07:00
Mangesh Kunchamwar
654b06b0ef asoc: routing: sound tracking updates for qcs405
Add support for codec dma interface to sound
tracking mixer control.

Change-Id: Ic8296e61d14526469c62a709f19c6357b3ada8d6
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-08-23 12:40:26 +05:30
Mangesh Kunchamwar
b2438de066 asoc: qcs405: add missing dai links
Add WCN dai links for enabling BT use cases.

Change-Id: I1de1de0d9de0115d89e6a10f79a2cbf0a54d0e44
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-08-23 12:28:39 +05:30
Banajit Goswami
c366b45381 ipc: fix error message to reflect the correct error
Fix error message when registration with SND event fwk
fails, to reflect the correct information.

Change-Id: I15133557666ff1b83073e1ce26ee9c4f1b4441ae
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2018-08-22 17:56:13 -07:00
Banajit Goswami
57245da21e asoc: wcd934x: add support for SSR handling using SND event FWK
Add support for SSR/PDR handling using SND event framework.

Change-Id: Ia96858ed6dc43cbb80d01a7797abb57442813d3b
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2018-08-22 10:34:42 -07:00
Banajit Goswami
09618575ad dsp: q6core: add support for SSR handling with SND event FWK
Add support for SSR/PDR event handling using SND
event framework.

Change-Id: Ia80c0bc7b99866fbb5c0b8c8ee7cdadeeb0fb0e9
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2018-08-22 10:34:41 -07:00
Banajit Goswami
40bdd6b55a ipc: apr: add support for SSR handing using SND event FWK
Add support for SSR/PDR notification handling using SND
event framework.

Change-Id: I2d147738c3ba2b498b0ce9824201adce71689e2d
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2018-08-22 10:34:39 -07:00
Banajit Goswami
06183689db soc: add support for SND event framework
Add support for SND event framework for helping with
notifications among different audio modules/drivers.
The SND event framework functions with a master/client
mechanism, where each client and the master register
with the framework, and then notifies its own status
(UP/DOWN). Each master will share a list of clients it
is interested in, and once all the clients are registered
and notified UP, the framework's state will be UP. On the
other hand, as and when any one of the client, or the master
reports its state as DOWN while the framework is UP, the
framework state would be changed to DOWN, and all clients
and the master would be let know about the change.

Change-Id: Ief6f26c5d5626c29246472ad71c247d71ee9e92f
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2018-08-22 10:34:32 -07:00
Linux Build Service Account
711dbb3dca Merge "asoc: wcd-dsp-mgr: reinit ssr ready flag for adsp/wdsp ssr" 2018-08-21 11:07:29 -07:00
Sudheer Papothi
eb8d8cb100 ASoC: wcd937x-mbhc: Add support for headset moisture detection
Add support for headset moisture detection on wcd937x codec.

Change-Id: Ib9021869a5d3a0d4e5b8a912b235b68fad90f94f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-08-20 14:07:25 -07:00
Linux Build Service Account
b9975a040e Merge "apr: fix race condition in apr reset" 2018-08-16 20:43:36 -07:00
Xiaoyu Ye
30765fcae3 ASoC: wcd934x-dsp-cntl: add debugfs node to perform debug dumps
Currently, for any WDSP errors, the driver collects the debug
dumps/information based on trigger from userspace. This is protected
under CONFIG_DEBUG_FS and should not be run unless stress tests are
executed and this functionality is explicitly enabled since
performing debug dumps could possible leave the WDSP in bad state.
Add debug node to control dumping debug information and not rely
only on CONFIG_DEBUG_FS

To enable debug dumps:
echo 1 > /sys/kernel/debug/wdsp0/debug_dump_enable

To disable debug dumps:
echo 0 > /sys/kernel/debug/wdsp0/debug_dump_enable

Change-Id: I67d8781839d9caee16e6bf6a5befd9010ccaafc0
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2018-08-15 18:23:16 -07:00
Meng Wang
d4e11ac7a4 asoc: wcd-dsp-mgr: reinit ssr ready flag for adsp/wdsp ssr
When adsp/wdsp SSR happens, WDSP_SSR_TYPE_WDSP_DOWN/WDSP_SSR_TYPE_CDC_DOWN
would get received by wcd-dsp-mgr. wcd-dsp-mgr would clear current work and
init wdsp when adsp is up and ready_compl flag is set to ready. Sometimes
ready_compl flag is not cleared and wdsp initialization would happen when
adsp/wdsp is down which would cause kernel panic.
Reinit ready_compl flag when adsp/wdsp SSR happens.

Change-Id: I45186abba7992ee6912c5b0da171ef37b04e2e71
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-08-15 14:57:53 -07:00
Sudheer Papothi
a45a56e824 ASoC: wcd-mbhc: Avoid headset jack corrosion due to moisture
Detect moisture in the headset jack and avoid headset jack
corrosion due to presence of moisture over prolonged duration.

Change-Id: I0227e516feb58c96ddf6a8fbc32423bfe7733ca6
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-08-16 03:27:20 +05:30
Linux Build Service Account
4d83b35b1b Merge "dsp: fix total size in set ui property" 2018-08-14 22:43:49 -07:00
Vidyakumar Athota
0b9c8c186f apr: fix race condition in apr reset
Since apr reset is scheduled in a workqueue, it is possible that before
completion of previous session apr_deregister(), new session of apr_register()
can happen in ssr scenario. Some of the variables are not reset properly
due to this race condition. Fix this issue by failing apr_register() till
apr_deregister() is completed.

Change-Id: I203e356e8330d8633d78bbfc6ae0165afa79f1f3
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-08-14 14:42:25 -07:00
Linux Build Service Account
0c56067b68 Merge "asoc: Binrgup fixes for talos" 2018-08-12 05:58:33 -07:00
Linux Build Service Account
a7758b048b Merge "asoc: msm-pcm-routing: add tdm echo reference route" 2018-08-11 23:11:49 -07:00
Linux Build Service Account
0541c17a9b Merge "asoc: add machine driver for sa8155 based automotive platform" 2018-08-11 23:11:48 -07:00
Ramprasad Katkam
f83acfb0f2 asoc: Binrgup fixes for talos
Add fixes related to audio bringup

Change-Id: I46fa0bb9c6f914fe9034f4fb78ef2248de7ebd50
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-08-11 23:28:57 +05:30
Linux Build Service Account
6fb0c6797f Merge "asoc: codecs: Tanggu reset pin and supplies" 2018-08-11 07:40:27 -07:00
Linux Build Service Account
fc9ba4e933 Merge "asoc: bolero: Update route map to enable MCLK for adie loopback" 2018-08-11 02:52:55 -07:00
Linux Build Service Account
477a5f2452 Merge "asoc: bolero: Update AIF dai-id to start with value 1" 2018-08-11 02:52:54 -07:00
Linux Build Service Account
b94000b1af Merge "asoc: swr: Add new parameters for swr port" 2018-08-10 13:24:08 -07:00
Linux Build Service Account
d7e53dd044 Merge "audio-kernel: Assign target name msmsteppe for sm6150" 2018-08-10 11:08:33 -07:00
Linux Build Service Account
76cf2831d9 Merge "soc: soundwire: Fix wsa mute issue for stereo playback" 2018-08-10 10:24:46 -07:00
Linux Build Service Account
505d896859 Merge "ASoC: wsa881x: Fix regcache sync issue during playback" 2018-08-10 10:24:45 -07:00
Ramprasad Katkam
ddb6e41cd4 audio-kernel: Assign target name msmsteppe for sm6150
Use msmsteppe target name instead of macro as macro
cannot be used in target rc file.

Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
Change-Id: I0f3ec299b28b7dfd9f8ac9985eea0c22a4611f9e
2018-08-10 16:35:52 +05:30
Ramprasad Katkam
9e90df7393 asoc: swr: Add new parameters for swr port
Add wordlength and lanectrl parameters for swr port.

Change-Id: Id36a1b0750b7e8f13e4d1eed6a9abaddc2f39a83
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-08-10 16:11:08 +05:30
Tanya Dixit
6256c5b989 asoc: codecs: Tanggu reset pin and supplies
Enable power supplies and reset of Tanggu

CRs-Fixed: 2281591
Change-Id: I7d693263f328b51d2f333bddac5e15e98a5f9f51
Signed-off-by: Tanya Dixit <tdixit@codeaurora.org>
2018-08-10 13:56:31 +05:30
Linux Build Service Account
e1d192895c Merge "ASoC: wcd934x-dsp-cntl: initialize local char array val" 2018-08-09 22:44:53 -07:00
Linux Build Service Account
601e7e841e Merge "dsp: q6afe: Add check for DC detection registration" 2018-08-09 22:44:51 -07:00
Linux Build Service Account
55d691c183 Merge "asoc: wcd9360-dsp-cntl: initialize local char array val" 2018-08-09 22:44:47 -07:00
Vikram Panduranga
99b0a75be7 dsp: fix total size in set ui property
Total size was incorrectly adjusted after determining
IID param size in SET_UI_PROPERTY. Fix total size with
correct APR packet and param sizes.

Change-Id: I5874b470811733e60b40cc240d4c0db995b30bac
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2018-08-09 11:24:40 -07:00
Laxminath Kasam
59c7a1de15 asoc: bolero: Update AIF dai-id to start with value 1
ASoC core assigns dai id value to num_dais if
AIF dai-id passed is 0. Since we have different macros
passing AIF dai-id as 0, they are replaced in ASoC core.
To handle this, update AIF dai-id in respective macros
to start with value 1.

Change-Id: I222c088289292aa226c90710e56a8c94af5615cd
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-08-09 16:13:44 +05:30
Linux Build Service Account
a771e10ca7 Merge "asoc: wcd937x: Add swr port connections for wcd937x" 2018-08-09 02:06:20 -07:00
Linux Build Service Account
03e70d806e Merge "ASOC: Add bolero compilation in makefile" 2018-08-09 02:06:15 -07:00
Linux Build Service Account
9ad057284b Merge "asoc: qcs405: Fix end to end playback on WSA" 2018-08-08 23:32:16 -07:00
Linux Build Service Account
c4b03a5490 Merge "asoc: add multimedia21 frontend and routing support" 2018-08-08 23:32:15 -07:00
Linux Build Service Account
6f046cdf21 Merge "ASoC: q6asm: use session lock to avoid use-after-free" 2018-08-08 23:32:14 -07:00
Linux Build Service Account
602e037449 Merge "asoc: enable MDF initialization in qcs405 target" 2018-08-08 23:32:09 -07:00
Linux Build Service Account
0d5b92fd99 Merge "asoc: bolero: Enable class-H for all interpolators" 2018-08-08 19:03:13 -07:00