Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d9bf21b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: msm: Fix playback failure with tinyalsa test app"

parents e4c22e21 0acedefa
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -448,10 +448,7 @@ static int msm_pcm_playback_copy(struct snd_pcm_substream *substream, int a,

	data = q6asm_is_cpu_buf_avail(IN, prtd->audio_client, &size, &idx);
	if (size < fbytes) {
		pr_err("%s: size mismatch error size %d fbytes %d\n",
		__func__ , size , fbytes);
		ret = -EFAULT;
		goto fail;
		fbytes = size;
	}
	bufptr = data;
	if (bufptr) {