aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/tlv320aic3x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c
index de17a36beb6f..397a2133e2d1 100644
--- a/sound/soc/codecs/tlv320aic3x.c
+++ b/sound/soc/codecs/tlv320aic3x.c
@@ -1369,8 +1369,6 @@ static int aic3x_probe(struct snd_soc_codec *codec)
1369 (aic3x->setup->gpio_func[1] & 0xf) << 4); 1369 (aic3x->setup->gpio_func[1] & 0xf) << 4);
1370 } 1370 }
1371 1371
1372 snd_soc_add_codec_controls(codec, aic3x_snd_controls,
1373 ARRAY_SIZE(aic3x_snd_controls));
1374 if (aic3x->model == AIC3X_MODEL_3007) 1372 if (aic3x->model == AIC3X_MODEL_3007)
1375 snd_soc_add_codec_controls(codec, &aic3x_classd_amp_gain_ctrl, 1); 1373 snd_soc_add_codec_controls(codec, &aic3x_classd_amp_gain_ctrl, 1);
1376 1374
@@ -1428,6 +1426,8 @@ static struct snd_soc_codec_driver soc_codec_dev_aic3x = {
1428 .remove = aic3x_remove, 1426 .remove = aic3x_remove,
1429 .suspend = aic3x_suspend, 1427 .suspend = aic3x_suspend,
1430 .resume = aic3x_resume, 1428 .resume = aic3x_resume,
1429 .controls = aic3x_snd_controls,
1430 .num_controls = ARRAY_SIZE(aic3x_snd_controls),
1431}; 1431};
1432 1432
1433/* 1433/*