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>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
93afa626ed
commit
a804ab121b
@@ -376,9 +376,6 @@ static int tx_macro_event_handler(struct snd_soc_component *component,
|
||||
case BOLERO_MACRO_EVT_SSR_DOWN:
|
||||
trace_printk("%s, enter SSR down\n", __func__);
|
||||
if (tx_priv->swr_ctrl_data) {
|
||||
swrm_wcd_notify(
|
||||
tx_priv->swr_ctrl_data[0].tx_swr_pdev,
|
||||
SWR_DEVICE_DOWN, NULL);
|
||||
swrm_wcd_notify(
|
||||
tx_priv->swr_ctrl_data[0].tx_swr_pdev,
|
||||
SWR_DEVICE_SSR_DOWN, NULL);
|
||||
|
Reference in New Issue
Block a user