diff options
Diffstat (limited to 'sound/soc/codecs/wm8994.c')
-rw-r--r-- | sound/soc/codecs/wm8994.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |