Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283822
b: refs/heads/master
c: 4cdf5e4
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Nov 29, 2011
1 parent 79f1fd3 commit 0eae1a3
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: 38fd54ee38624a52c28d65fadfd452c9c49fb152
refs/heads/master: 4cdf5e49ce8ff79038ee5388cc5f97097238bb29
3 changes: 3 additions & 0 deletions trunk/sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -3016,6 +3016,8 @@ int wm8958_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack,
cb_data = codec;
}

snd_soc_dapm_force_enable_pin(&codec->dapm, "CLK_SYS");

wm8994->micdet[0].jack = jack;
wm8994->jack_cb = cb;
wm8994->jack_cb_data = cb_data;
Expand All @@ -3025,6 +3027,7 @@ int wm8958_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack,
} else {
snd_soc_update_bits(codec, WM8958_MIC_DETECT_1,
WM8958_MICD_ENA, 0);
snd_soc_dapm_disable_pin(&codec->dapm, "CLK_SYS");
}

return 0;
Expand Down

0 comments on commit 0eae1a3

Please sign in to comment.