ASoC: ak4642: Revive ak4642_snd_controls
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 3 Sep 2010 07:12:36 +0000 (16:12 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 3 Sep 2010 09:53:16 +0000 (10:53 +0100)
This patch revive ak4642_snd_controls which was removed on
f0fba2ad1b6b53d5360125c41953b7afcd6deff0

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ak4642.c

index 31b35e967398064d87b1e239d374cdf0810b7638..c84cc9c00bd910c0430866328e474ab214f3ac4f 100644 (file)
@@ -424,6 +424,8 @@ static int ak4642_probe(struct snd_soc_codec *codec)
        codec->hw_write         = (hw_write_t)i2c_master_send;
        codec->control_data = ak4642->control_data;
 
+       snd_soc_add_controls(codec, ak4642_snd_controls,
+                            ARRAY_SIZE(ak4642_snd_controls));
 
        return 0;
 }