diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2010-09-03 11:12:36 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-09-03 13:53:16 +0400 |
commit | 73bb379f1a224a92b0ac3b0d8949832ce5cb7fd3 (patch) | |
tree | e7b4c6342559f8bed0e259b89f519a9da34ca0e4 /sound/soc/codecs/ak4642.c | |
parent | 880b8ffd45bf46f783b8b0d009487d89fd37b608 (diff) | |
download | linux-73bb379f1a224a92b0ac3b0d8949832ce5cb7fd3.tar.xz |
ASoC: ak4642: Revive ak4642_snd_controls
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>
Diffstat (limited to 'sound/soc/codecs/ak4642.c')
-rw-r--r-- | sound/soc/codecs/ak4642.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c index 31b35e967398..c84cc9c00bd9 100644 --- a/sound/soc/codecs/ak4642.c +++ b/sound/soc/codecs/ak4642.c @@ -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; } |