OSDN Git Service

ASoC: rsnd: care snd_kcontrol's index
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 10 Apr 2015 08:50:50 +0000 (08:50 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 27 Apr 2015 19:57:39 +0000 (20:57 +0100)
commitda620d722a7b7b16bf8571150acd7fd9e155809f
tree976b5a65713f8ec3cb9a8180162843e241fb7492
parent919567d914b3c134e60c01db72a03a0adc5f41b9
ASoC: rsnd: care snd_kcontrol's index

rsnd might be used in multi-codec sound card.
Then, same name kcontrol will be registered many times, and it will
be error. This patch fixes this issue by using .index

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