From 24d289820810035237887db94239aa409495be5c Mon Sep 17 00:00:00 2001 From: hselasky Date: Mon, 30 Jul 2018 09:29:32 +0000 Subject: [PATCH] MFC r336632: Update modify counter when setting a mixer control. PR: 229969 git-svn-id: svn://svn.freebsd.org/base/stable/9@336891 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/dev/sound/pcm/mixer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/sound/pcm/mixer.c b/sys/dev/sound/pcm/mixer.c index 7a349071e..0f4cca8d7 100644 --- a/sys/dev/sound/pcm/mixer.c +++ b/sys/dev/sound/pcm/mixer.c @@ -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; } -- 2.42.0