提交 14ac9112 编写于 作者: L Liam Girdwood 提交者: Mark Brown

ASoC: max9768: Fix build and use new add control API.

Fix build breakage by using the correct API call to add kcontrols.
Signed-off-by: NLiam Girdwood <lrg@ti.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 24cace30
......@@ -135,7 +135,7 @@ static int max9768_probe(struct snd_soc_codec *codec)
}
if (gpio_is_valid(max9768->mute_gpio)) {
ret = snd_soc_add_controls(codec, max9768_mute,
ret = snd_soc_add_codec_controls(codec, max9768_mute,
ARRAY_SIZE(max9768_mute));
if (ret)
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册