]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit50a07b298bf17aaf00ed7fcdd039d99fd37784cc
tree976b5a65713f8ec3cb9a8180162843e241fb7492
parentaf62d8666a777b2deb07ec529dc48a799bda3a0d
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