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)
commit3028eb8c51d968b9e7b44a9786a4e521e37afb13
treea55b75b799209c2d850082eedcc3395e3b82b8de
parent1badabd980da3bc09933c14970017067940ecd57
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