ASoC: spear: spdif_out: Fix mute control
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 3 Mar 2014 07:57:49 +0000 (08:57 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 10 Mar 2014 17:43:15 +0000 (17:43 +0000)
commitbde24030b5a2825ef198b2f092b7271e22fae142
treed379a9e06a36750d96af59921a8389eb39b01200
parent38dbfb59d1175ef458d006556061adeaa8751b72
ASoC: spear: spdif_out: Fix mute control

For controls registers with snd_soc_add_dai_controls snd_kcontrol_chip() returns
a pointer to the DAI, not to the CODEC.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/spear/spdif_out.c