Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2018 09:25:57 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r336889 - stable/11/sys/dev/sound/pcm
Message-ID:  <201807300925.w6U9Pvdo023795@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Mon Jul 30 09:25:56 2018
New Revision: 336889
URL: https://svnweb.freebsd.org/changeset/base/336889

Log:
  MFC r336632:
  Update modify counter when setting a mixer control.
  
  PR:		229969

Modified:
  stable/11/sys/dev/sound/pcm/mixer.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/sound/pcm/mixer.c
==============================================================================
--- stable/11/sys/dev/sound/pcm/mixer.c	Mon Jul 30 09:22:21 2018	(r336888)
+++ stable/11/sys/dev/sound/pcm/mixer.c	Mon Jul 30 09:25:56 2018	(r336889)
@@ -322,6 +322,7 @@ mixer_set(struct snd_mixer *m, u_int dev, u_int lev)
 	MIXER_SET_LOCK(m, dropmtx);
 
 	m->level[dev] = l | (r << 8);
+	m->modify_counter++;
 
 	return 0;
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807300925.w6U9Pvdo023795>