ASoC: rsnd: don't use private_value on rsnd_kctrl_new()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 24 Jul 2017 01:45:59 +0000 (01:45 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jul 2017 15:26:50 +0000 (16:26 +0100)
commit16d4498962c7b76a76553e8dd943abe1e9facc0d
tree140cf3960632bdee1355a0c04a8a8d42951766f4
parent32e1b60d8f91be932c4a624d4153224895b65ec7
ASoC: rsnd: don't use private_value on rsnd_kctrl_new()

Current rsnd kctrl is using both .private_value (for rsnd_kctrl_cfg)
and .private_data (for rsnd_mod) on snd_kcontrol.
But only 1 private data (= rsnd_kctrl_cfg) can be enough if it has
rsnd_mod pointer.
This patch doesn't use private_value.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/rsnd.h