diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-23 01:56:20 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-23 02:07:23 +0000 |
commit | 1435b9402fe0fb27ac4ec5bb271112de2c4806c0 (patch) | |
tree | 5c800d20cb3a19668f8dbf35cfc20cd649bd766b /sound/soc/codecs/wm8350.c | |
parent | 6a504a751124889e0bdbb25963a7edf7aeedb7bd (diff) | |
download | linux-1435b9402fe0fb27ac4ec5bb271112de2c4806c0.tar.bz2 |
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.c | 4 |
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) switch (irq - wm8350->irq_base) { case WM8350_IRQ_CODEC_JCK_DET_L: +#ifndef CONFIG_SND_SOC_WM8350_MODULE trace_snd_soc_jack_irq("WM8350 HPL"); +#endif jack = &priv->hpl; break; case WM8350_IRQ_CODEC_JCK_DET_R: +#ifndef CONFIG_SND_SOC_WM8350_MODULE trace_snd_soc_jack_irq("WM8350 HPR"); +#endif jack = &priv->hpr; break; |