forked from Minki/linux
ASoC: rsnd: don't call update callback if it was NULL
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
6a16c17651
commit
d728956548
@ -927,7 +927,7 @@ static int rsnd_kctrl_put(struct snd_kcontrol *kctrl,
|
||||
}
|
||||
}
|
||||
|
||||
if (change)
|
||||
if (change && cfg->update)
|
||||
cfg->update(cfg->io, mod);
|
||||
|
||||
return change;
|
||||
|
Loading…
Reference in New Issue
Block a user