Author: hselasky
Date: Mon Jul 30 09:29:32 2018
New Revision: 336891
URL: https://svnweb.freebsd.org/changeset/base/336891
Log:
MFC r336632:
Update modify counter when setting a mixer control.
PR: 229969
Modified:
stable/9/sys/dev/sound/pcm/mixer.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/dev/sound/pcm/mixer.c
==============================================================================
--- stable/9/sys/dev/sound/pcm/mixer.c Mon Jul 30 09:28:00 2018
(r336890)
+++ stable/9/sys/dev/sound/pcm/mixer.c Mon Jul 30 09:29:32 2018
(r336891)
@@ -323,6 +323,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;
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "[email protected]"