diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-29 08:05:21 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-29 08:06:18 -0500 |
commit | 7116f452c8e3e38f99ab3231a758eb366dacfe4a (patch) | |
tree | 0f49e256fc6aa4052292442b310cce427ef5a317 /sound | |
parent | 22a756ee8951e597c76e5a60f81d40a43054489e (diff) |
ASoC: Yet more x86 tracepoint workarounds
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/88pm860x-codec.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8350.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8994.c | 4 |
3 files changed, 7 insertions, 1 deletions
diff --git a/sound/soc/codecs/88pm860x-codec.c b/sound/soc/codecs/88pm860x-codec.c index 5da8207a6961..06b6981b8d6d 100644 --- a/sound/soc/codecs/88pm860x-codec.c +++ b/sound/soc/codecs/88pm860x-codec.c | |||
@@ -1262,7 +1262,7 @@ static irqreturn_t pm860x_codec_handler(int irq, void *data) | |||
1262 | mask = pm860x->det.hs_shrt | pm860x->det.hook_det | pm860x->det.lo_shrt | 1262 | mask = pm860x->det.hs_shrt | pm860x->det.hook_det | pm860x->det.lo_shrt |
1263 | | pm860x->det.hp_det; | 1263 | | pm860x->det.hp_det; |
1264 | 1264 | ||
1265 | #ifndef CONFIG_SND_SOC_88PM860X | 1265 | #ifndef CONFIG_SND_SOC_88PM860X_MODULE |
1266 | if (status & (HEADSET_STATUS | MIC_STATUS | SHORT_HS1 | SHORT_HS2 | | 1266 | if (status & (HEADSET_STATUS | MIC_STATUS | SHORT_HS1 | SHORT_HS2 | |
1267 | SHORT_LO1 | SHORT_LO2)) | 1267 | SHORT_LO1 | SHORT_LO2)) |
1268 | trace_snd_soc_jack_irq(dev_name(pm860x->codec->dev)); | 1268 | trace_snd_soc_jack_irq(dev_name(pm860x->codec->dev)); |
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c index db07137bf3b9..6d6dc9efe914 100644 --- a/sound/soc/codecs/wm8350.c +++ b/sound/soc/codecs/wm8350.c | |||
@@ -1463,7 +1463,9 @@ static irqreturn_t wm8350_mic_handler(int irq, void *data) | |||
1463 | u16 reg; | 1463 | u16 reg; |
1464 | int report = 0; | 1464 | int report = 0; |
1465 | 1465 | ||
1466 | #ifndef CONFIG_SND_SOC_WM8350_MODULE | ||
1466 | trace_snd_soc_jack_irq("WM8350 mic"); | 1467 | trace_snd_soc_jack_irq("WM8350 mic"); |
1468 | #endif | ||
1467 | 1469 | ||
1468 | reg = wm8350_reg_read(wm8350, WM8350_JACK_PIN_STATUS); | 1470 | reg = wm8350_reg_read(wm8350, WM8350_JACK_PIN_STATUS); |
1469 | if (reg & WM8350_JACK_MICSCD_LVL) | 1471 | if (reg & WM8350_JACK_MICSCD_LVL) |
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 067a532bed15..247a6a99feb8 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c | |||
@@ -2756,7 +2756,9 @@ static irqreturn_t wm8994_mic_irq(int irq, void *data) | |||
2756 | int reg; | 2756 | int reg; |
2757 | int report; | 2757 | int report; |
2758 | 2758 | ||
2759 | #ifndef CONFIG_SND_SOC_WM8994_MODULE | ||
2759 | trace_snd_soc_jack_irq(dev_name(codec->dev)); | 2760 | trace_snd_soc_jack_irq(dev_name(codec->dev)); |
2761 | #endif | ||
2760 | 2762 | ||
2761 | reg = snd_soc_read(codec, WM8994_INTERRUPT_RAW_STATUS_2); | 2763 | reg = snd_soc_read(codec, WM8994_INTERRUPT_RAW_STATUS_2); |
2762 | if (reg < 0) { | 2764 | if (reg < 0) { |
@@ -2904,7 +2906,9 @@ static irqreturn_t wm8958_mic_irq(int irq, void *data) | |||
2904 | goto out; | 2906 | goto out; |
2905 | } | 2907 | } |
2906 | 2908 | ||
2909 | #ifndef CONFIG_SND_SOC_WM8994_MODULE | ||
2907 | trace_snd_soc_jack_irq(dev_name(codec->dev)); | 2910 | trace_snd_soc_jack_irq(dev_name(codec->dev)); |
2911 | #endif | ||
2908 | 2912 | ||
2909 | if (wm8994->jack_cb) | 2913 | if (wm8994->jack_cb) |
2910 | wm8994->jack_cb(reg, wm8994->jack_cb_data); | 2914 | wm8994->jack_cb(reg, wm8994->jack_cb_data); |