diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-09 22:20:59 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-09 22:32:43 +0400 |
commit | e9b54de420bfdd335d66c90b4d68e894677db668 (patch) | |
tree | 8077bd844b8c51f2a8bbffec680072f60c20936f /sound/soc/codecs/wm8994.h | |
parent | cbd71f304a86f0c8a545220967687f02054edea0 (diff) | |
download | linux-e9b54de420bfdd335d66c90b4d68e894677db668.tar.xz |
ASoC: wm8994: Add debounce to wm8994 mic detection
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.h')
-rw-r--r-- | sound/soc/codecs/wm8994.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h index 91650bba205e..d77e06f0a675 100644 --- a/sound/soc/codecs/wm8994.h +++ b/sound/soc/codecs/wm8994.h @@ -12,6 +12,7 @@ #include <sound/soc.h> #include <linux/firmware.h> #include <linux/completion.h> +#include <linux/workqueue.h> #include "wm_hubs.h" @@ -127,6 +128,7 @@ struct wm8994_priv { struct mutex accdet_lock; struct wm8994_micdet micdet[2]; + struct delayed_work mic_work; bool mic_detecting; bool jack_mic; int btn_mask; |