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

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

Merge "ALSA: compress: Memset timestamp structure to zero."

parents fa70ce01 80a53b1f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -655,9 +655,10 @@ snd_compr_set_metadata(struct snd_compr_stream *stream, unsigned long arg)
static inline int
snd_compr_tstamp(struct snd_compr_stream *stream, unsigned long arg)
{
	struct snd_compr_tstamp tstamp = {0};
	struct snd_compr_tstamp tstamp;
	int ret;

	memset(&tstamp, 0, sizeof(tstamp));
	ret = snd_compr_update_tstamp(stream, &tstamp);
	if (ret == 0)
		ret = copy_to_user((struct snd_compr_tstamp __user *)arg,