Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353447
b: refs/heads/master
c: 3f3af6e
h: refs/heads/master
i:
  353445: 36f7c8f
  353443: 3298c8a
  353439: 7e5b0bd
v: v3
  • Loading branch information
Mark Brown committed Jan 31, 2013
1 parent fcdf4f4 commit e473d94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 33e7546e199f123808699c65274283606114e225
refs/heads/master: 3f3af6eeff3e048e27eb864519e779aedc194386
3 changes: 3 additions & 0 deletions trunk/sound/soc/codecs/wm2000.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ static int wm2000_speaker_put(struct snd_kcontrol *kcontrol,
}

static const struct snd_kcontrol_new wm2000_controls[] = {
SOC_SINGLE("ANC Volume", WM2000_REG_ANC_GAIN_CTRL, 0, 255, 0),
SOC_SINGLE_BOOL_EXT("WM2000 ANC Switch", 0,
wm2000_anc_mode_get,
wm2000_anc_mode_put),
Expand Down Expand Up @@ -755,6 +756,8 @@ static int wm2000_probe(struct snd_soc_codec *codec)
{
struct wm2000_priv *wm2000 = dev_get_drvdata(codec->dev);

snd_soc_codec_set_cache_io(codec, 16, 8, SND_SOC_REGMAP);

/* This will trigger a transition to standby mode by default */
wm2000_anc_set_mode(wm2000);

Expand Down

0 comments on commit e473d94

Please sign in to comment.