Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293442
b: refs/heads/master
c: 28e3326
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Mar 4, 2012
1 parent 435693e commit c14d77f
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: afaf1591203e4ea12c4c8e0240549ff5e592d7ae
refs/heads/master: 28e33269a71cb4104c2e0629b6a3ef7344436f93
3 changes: 3 additions & 0 deletions trunk/sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,9 @@ static void wm1811_jackdet_set_mode(struct snd_soc_codec *codec, u16 mode)
{
struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec);

if (!wm8994->jackdet || !wm8994->jack_cb)
return;

if (wm8994->active_refcount)
mode = WM1811_JACKDET_MODE_AUDIO;

Expand Down

0 comments on commit c14d77f

Please sign in to comment.