dsp: codecs: Add synchronization between SSR and native encoder decoder

Add change to use global lock to make synchronization
between SSR and native encoder decoder.

Change-Id: I6c1f48c32d4c8290de8bf3dfa86e022abe2b34bc
Signed-off-by: Saurav Kumar <sauravk@codeaurora.org>
This commit is contained in:
Saurav Kumar
2020-02-21 18:29:26 +05:30
committed by Gerrit - the friendly Code Review server
orang tua 68f58b0d09
melakukan d8a0703a77
6 mengubah file dengan 26 tambahan dan 8 penghapusan

Melihat File

@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2012-2014, 2017 The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2014, 2017, 2020 The Linux Foundation. All rights reserved.
*/
@@ -9,7 +9,7 @@
#include <dsp/apr_audio-v2.h>
#include <dsp/q6asm-v2.h>
extern spinlock_t enc_dec_lock;
void q6_audio_cb(uint32_t opcode, uint32_t token,
uint32_t *payload, void *priv);