From 435ffa066326fe9e3e92331cdff68465a2823673 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 26 Feb 2009 11:29:58 +0100 Subject: [PATCH] --- yaml --- r: 132864 b: refs/heads/master c: 6d5643455ced9ee45a4aa7403fe8056d826bde85 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/wm8753.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 27fb5be64486..810737feb445 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e611bd82441130991d7f4600dfd4632cebd417c5 +refs/heads/master: 6d5643455ced9ee45a4aa7403fe8056d826bde85 diff --git a/trunk/sound/soc/codecs/wm8753.c b/trunk/sound/soc/codecs/wm8753.c index 2241204b5151..7f353e935d71 100644 --- a/trunk/sound/soc/codecs/wm8753.c +++ b/trunk/sound/soc/codecs/wm8753.c @@ -1574,7 +1574,8 @@ static int wm8753_probe(struct platform_device *pdev) goto pcm_err; } - wm8753_add_controls(codec); + snd_soc_add_controls(codec, wm8753_snd_controls, + ARRAY_SIZE(wm8753_snd_controls)); wm8753_add_widgets(codec); ret = snd_soc_init_card(socdev); if (ret < 0) {