summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8962.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-23 02:56:20 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-23 03:07:23 +0100
commit1435b9402fe0fb27ac4ec5bb271112de2c4806c0 (patch)
tree5c800d20cb3a19668f8dbf35cfc20cd649bd766b /sound/soc/codecs/wm8962.c
parentASoC: Add initial WM8995 driver (diff)
downloadlinux-1435b9402fe0fb27ac4ec5bb271112de2c4806c0.tar.xz
linux-1435b9402fe0fb27ac4ec5bb271112de2c4806c0.zip
ASoC: ifdef out trace points from modules for x86
No idea why this works on ARM but not x86. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to '')
-rw-r--r--sound/soc/codecs/wm8962.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index a24f83d604c9..b311b465c4d8 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -3354,7 +3354,9 @@ static irqreturn_t wm8962_irq(int irq, void *data)
if (active & (WM8962_MICSCD_EINT | WM8962_MICD_EINT)) {
dev_dbg(codec->dev, "Microphone event detected\n");
+#ifndef CONFIG_SOUND_SOC_WM862_MODULE
trace_snd_soc_jack_irq(dev_name(codec->dev));
+#endif
pm_wakeup_event(codec->dev, 300);