提交 e5ddd303 编写于 作者: M Mark Brown

ASoC: wm5102: Add controls for firmware selection

Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 4706ccbb
......@@ -1579,6 +1579,10 @@ static int wm5102_codec_probe(struct snd_soc_codec *codec)
if (ret != 0)
return ret;
ret = snd_soc_add_codec_controls(codec, wm_adsp_fw_controls, 1);
if (ret != 0)
return ret;
snd_soc_dapm_disable_pin(&codec->dapm, "HAPTICS");
priv->core.arizona->dapm = &codec->dapm;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册