aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8350.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-22 20:56:20 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-22 21:07:23 -0500
commit1435b9402fe0fb27ac4ec5bb271112de2c4806c0 (patch)
tree5c800d20cb3a19668f8dbf35cfc20cd649bd766b /sound/soc/codecs/wm8350.c
parent6a504a751124889e0bdbb25963a7edf7aeedb7bd (diff)
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 'sound/soc/codecs/wm8350.c')
-rw-r--r--sound/soc/codecs/wm8350.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c
index 82d877df3fb0..db07137bf3b9 100644
--- a/sound/soc/codecs/wm8350.c
+++ b/sound/soc/codecs/wm8350.c
@@ -1379,12 +1379,16 @@ static irqreturn_t wm8350_hp_jack_handler(int irq, void *data)
1379 1379
1380 switch (irq - wm8350->irq_base) { 1380 switch (irq - wm8350->irq_base) {
1381 case WM8350_IRQ_CODEC_JCK_DET_L: 1381 case WM8350_IRQ_CODEC_JCK_DET_L:
1382#ifndef CONFIG_SND_SOC_WM8350_MODULE
1382 trace_snd_soc_jack_irq("WM8350 HPL"); 1383 trace_snd_soc_jack_irq("WM8350 HPL");
1384#endif
1383 jack = &priv->hpl; 1385 jack = &priv->hpl;
1384 break; 1386 break;
1385 1387
1386 case WM8350_IRQ_CODEC_JCK_DET_R: 1388 case WM8350_IRQ_CODEC_JCK_DET_R:
1389#ifndef CONFIG_SND_SOC_WM8350_MODULE
1387 trace_snd_soc_jack_irq("WM8350 HPR"); 1390 trace_snd_soc_jack_irq("WM8350 HPR");
1391#endif
1388 jack = &priv->hpr; 1392 jack = &priv->hpr;
1389 break; 1393 break;
1390 1394