summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarter Hsu <carterhsu@google.com>2019-05-22 20:50:32 +0800
committerCarter Hsu <carterhsu@google.com>2019-05-24 01:05:41 +0000
commita9d9ba46108841916a4da5b6a712e23e2100a953 (patch)
tree00ed48391446078189fff2fcabb5efc9bd2c1e96
parent9dadb03e30bae0bbe60858722ac9b6e9e5ed4cb1 (diff)
downloadmsm-extra-android-msm-crosshatch-4.9-q-preview-5.tar.gz
Bug: 130003723 Bug: 133304301 Test: verify video record Change-Id: If545b74acd8d7ee7e8ad6c69f695ad165a1eb4b8 Signed-off-by: Carter Hsu <carterhsu@google.com>
-rw-r--r--asoc/msm-pcm-q6-v2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/asoc/msm-pcm-q6-v2.c b/asoc/msm-pcm-q6-v2.c
index dddb0791..5be2cb43 100644
--- a/asoc/msm-pcm-q6-v2.c
+++ b/asoc/msm-pcm-q6-v2.c
@@ -882,8 +882,8 @@ static int msm_pcm_capture_copy(struct snd_pcm_substream *substream,
int xfer;
char *bufptr;
void *data = NULL;
- static uint32_t idx;
- static uint32_t size;
+ uint32_t idx;
+ uint32_t size;
uint32_t offset = 0;
struct snd_pcm_runtime *runtime = substream->runtime;
struct msm_audio *prtd = substream->runtime->private_data;