Commit d7289565 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown
Browse files

ASoC: rsnd: don't call update callback if it was NULL

parent 6a16c176
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;