summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown2011-02-18 01:41:42 +0100
committerMark Brown2011-02-18 18:14:24 +0100
commitfadddc8753ccfab26ee57f3205d6926fe4be1350 (patch)
tree788a8bf9c43ab4dd58c013196bdeb650c8041bea /include/sound/soc.h
parentASoC: Allow GPIO jack detection to be configured as a wake source (diff)
downloadkernel-qcow2-linux-fadddc8753ccfab26ee57f3205d6926fe4be1350.tar.gz
kernel-qcow2-linux-fadddc8753ccfab26ee57f3205d6926fe4be1350.tar.xz
kernel-qcow2-linux-fadddc8753ccfab26ee57f3205d6926fe4be1350.zip
ASoC: Add kerneldoc for jack_status_check callback
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index fb57c33482e5..65d865f7e8c0 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -437,6 +437,9 @@ struct snd_soc_jack_zone {
* @invert: report presence in low state
* @debouce_time: debouce time in ms
* @wake: enable as wake source
+ * @jack_status_check: callback function which overrides the detection
+ * to provide more complex checks (eg, reading an
+ * ADC).
*/
#ifdef CONFIG_GPIOLIB
struct snd_soc_jack_gpio {