Author: hselasky
Date: Mon Jul 23 09:16:23 2018
New Revision: 336632
URL: https://svnweb.freebsd.org/changeset/base/336632

Log:
  Update modify counter when setting a mixer control.
  
  PR:           229969
  MFC after:    1 week

Modified:
  head/sys/dev/sound/pcm/mixer.c

Modified: head/sys/dev/sound/pcm/mixer.c
==============================================================================
--- head/sys/dev/sound/pcm/mixer.c      Mon Jul 23 08:52:57 2018        
(r336631)
+++ head/sys/dev/sound/pcm/mixer.c      Mon Jul 23 09:16:23 2018        
(r336632)
@@ -324,6 +324,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;
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to