summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/core/vmaster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/vmaster.c b/sound/core/vmaster.c
index 5df8dc2..842a97d 100644
--- a/sound/core/vmaster.c
+++ b/sound/core/vmaster.c
@@ -348,7 +348,7 @@ static int master_put(struct snd_kcontrol *kcontrol,
err = sync_slaves(master, old_val, new_val);
if (err < 0)
return err;
- if (master->hook && first_init)
+ if (master->hook && !first_init)
master->hook(master->hook_private_data, master->val);
return 1;
}
OpenPOWER on IntegriCloud