aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/ak4642.c2
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)
424 codec->hw_write = (hw_write_t)i2c_master_send; 424 codec->hw_write = (hw_write_t)i2c_master_send;
425 codec->control_data = ak4642->control_data; 425 codec->control_data = ak4642->control_data;
426 426
427 snd_soc_add_controls(codec, ak4642_snd_controls,
428 ARRAY_SIZE(ak4642_snd_controls));
427 429
428 return 0; 430 return 0;
429} 431}