Merge "asoc: fix silence data during concurrent capture"

This commit is contained in:
qctecmdr 2019-05-31 08:46:49 -07:00 • committed by Gerrit - the friendly Code Review server
commit 424eebc320

View file

@ -950,8 +950,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 = 0;
uint32_t size = 0;
uint32_t offset = 0;
struct snd_pcm_runtime *runtime = substream->runtime;
struct msm_audio *prtd = substream->runtime->private_data;