Skip to content

Commit

Permalink
ASoC: wm5102: Add controls for firmware selection
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Jan 18, 2013
1 parent 4706ccb commit e5ddd30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sound/soc/codecs/wm5102.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e5ddd30

Please sign in to comment.