Commit Graph
10 Commits
Author SHA1 Message Date
Vangala, Amarnath affa5ed6fb asoc: codecs: fix race condition of core vote and reg access
Auto suspend timer for core vote is triggering before read write complete.
Move the auto suspend of core vote to post read write operation.

Change-Id: Ib0f6b026fe0e7fd3fbe052691db492915e436a78
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2022-04-12 20:20:38 -07:00
Vangala, Amarnath a388c82a81 asoc: codecs: add child devices after completing initialization
In bolero-cdc and tx, va, wsa and rx macros, move schedule_work call to
add the child devices to the point later to where the parent
initialization gets completed.

Change-Id: Iaa07329a25020dde21d9249c3848bb7fcf7d816a
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2021-03-08 20:21:29 -08:00
Vangala, Amarnath 7122b041a2 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-08-28 11:04:48 +05:30
Vangala, Amarnath a33a287d97 ASOC: SPV4 set correct number of speakers.
Set correct number of speakers for Speaker Protection V4.

Change-Id: I66c656174bef64d3cdd64b17d994073e9ee58472
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-08-27 22:32:04 -07:00
Vangala, Amarnath 63e3506834 asoc: dsp: Fix possible invalid memory access due to race condition
Fix for possible double free issue in speaker protection implementation.
Replace vulnerable code with safe call flow.

Change-Id: Id96cf97dd60d85897d64f1d8f2440a5b6de3ba61
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-08-11 17:42:47 +05:30
Vangala, Amarnath 4732998c6d dsp: fix to race condition in voice call mute command handling.
Apply the cached value of device mute setting to dsp,
after voc state moves to RUN.

Change-Id: I82bc9ab2d49a199f0277b1694cd00311eddd6115
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-07-28 09:30:19 -07:00
Vangala, Amarnath ca3b79b972 ASOC: macro name correction.
Correction to macro name.

Change-Id: I609df6b1a18231c285a5290872fa7b62ab9bffea
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-06-30 03:10:42 -07:00
Vangala, Amarnath 7873230284 ASOC: Speaker Protection V4
Support for Speaker Protection V4.

Change-Id: I2237836243a716d4ed3288c9c613bc8d4ec5a282
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-06-25 01:25:20 -07:00
Vangala, Amarnath 4f9cd65b9b ASOC: Speaker Protection V4 API
API changes for Speaker Protection V4.

Change-Id: I3f00831d90ba0fd11db915cc0af96cf429fc98c9
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-06-25 00:00:28 -07:00
Vangala, Amarnath 1b9c789cd9 ASOC: Sampling rate fix for for WSA_CDC_DMA_TX_0.
Removed hardcoding of sampling rate for WSA_CDC_DMA_TX_0.
 Updated the Sampling rate in the cdc_dmx_tx_cfg table.

Change-Id: Ie9a611fbcc364ded53f3c8c668a8acdb40e16327
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-05-14 11:10:49 -07:00