[alsa-devel] [PATCH 2/2] ASoC: Add kerneldoc for jack_status_check callback
Mark Brown
broonie at opensource.wolfsonmicro.com
Fri Feb 18 01:42:46 CET 2011
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
include/sound/soc.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/sound/soc.h b/include/sound/soc.h
index fb57c33..65d865f 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 {
--
1.7.2.3
More information about the Alsa-devel
mailing list