]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Add trace events for jack detection
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 5 Dec 2010 12:22:46 +0000 (12:22 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 6 Dec 2010 14:13:42 +0000 (14:13 +0000)
commit05c6f0fac55ee01106c5b978d3cd1583a57779b2
treea55b75b799209c2d850082eedcc3395e3b82b8de
parent2783ed9bf0a0af538bbf56f51f9a96b1c877317d
ASoC: Add trace events for jack detection

As jack detection can trigger DAPM and the latency in debouncing can create
confusing windows in operation provide some trace events which will hopefully
help in diagnostics. The soc-jack core traces all reports that it gets and
the resulting notifications to upper layers. An event for jack IRQs is also
provided for instrumentation of debounce, and used in the GPIO jack code.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
include/trace/events/asoc.h
sound/soc/soc-core.c
sound/soc/soc-jack.c