summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-15 19:25:26 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-16 16:57:15 +0100
commit8abd16a65d81756706016720e2cc7eeb81d06a2e (patch)
treee8031539c57c4add59dd84bbf943584ef58fb907 /include
parentASoC: Initial WM8903 microphone bias and short detection (diff)
downloadlinux-8abd16a65d81756706016720e2cc7eeb81d06a2e.tar.xz
linux-8abd16a65d81756706016720e2cc7eeb81d06a2e.zip
ASoC: Add WM8903 interrupt support
Currently used to detect completion of the write sequencer. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/sound/wm8903.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/wm8903.h b/include/sound/wm8903.h
index 22b66a76febd..49bb1a844bfc 100644
--- a/include/sound/wm8903.h
+++ b/include/sound/wm8903.h
@@ -232,6 +232,8 @@
#define WM8903_GP5_DB_WIDTH 1 /* GP5_DB */
struct wm8903_platform_data {
+ bool irq_active_low; /* Set if IRQ active low, default high */
+
/* Default register value for R6 (Mic bias), used to configure
* microphone detection. In conjunction with gpio_cfg this
* can be used to route the microphone status signals out onto