aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8903.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/wm8903.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/wm8903.c')
-rw-r--r--sound/soc/codecs/wm8903.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c
index b32699bc1927..02de5ae42d63 100644
--- a/sound/soc/codecs/wm8903.c
+++ b/sound/soc/codecs/wm8903.c
@@ -1534,8 +1534,10 @@ static irqreturn_t wm8903_irq(int irq, void *data)
1534 mic_report = wm8903->mic_last_report; 1534 mic_report = wm8903->mic_last_report;
1535 int_pol = snd_soc_read(codec, WM8903_INTERRUPT_POLARITY_1); 1535 int_pol = snd_soc_read(codec, WM8903_INTERRUPT_POLARITY_1);
1536 1536
1537#ifndef CONFIG_SND_SOC_WM8903_MODULE
1537 if (int_val & (WM8903_MICSHRT_EINT | WM8903_MICDET_EINT)) 1538 if (int_val & (WM8903_MICSHRT_EINT | WM8903_MICDET_EINT))
1538 trace_snd_soc_jack_irq(dev_name(codec->dev)); 1539 trace_snd_soc_jack_irq(dev_name(codec->dev));
1540#endif
1539 1541
1540 if (int_val & WM8903_MICSHRT_EINT) { 1542 if (int_val & WM8903_MICSHRT_EINT) {
1541 dev_dbg(codec->dev, "Microphone short (pol=%x)\n", int_pol); 1543 dev_dbg(codec->dev, "Microphone short (pol=%x)\n", int_pol);