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

Commit 1b35a503 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: compress: propagate the error code from the compress framework"

parents bb76c8d3 5e78f73a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -168,10 +168,13 @@ static int snd_compr_free(struct inode *inode, struct file *f)
static int snd_compr_update_tstamp(struct snd_compr_stream *stream,
		struct snd_compr_tstamp *tstamp)
{
	int err = 0;
	if (!stream->ops->pointer)
		return -ENOTSUPP;
	stream->ops->pointer(stream, tstamp);
	err = stream->ops->pointer(stream, tstamp);
#ifdef CONFIG_AUDIO_QGKI
	if (err)
		return err;
	pr_debug("dsp consumed till %d total %llu bytes\n",
		tstamp->byte_offset, tstamp->copied_total);
#else