diff options
Diffstat (limited to 'sound/soc/codecs/wm8903.c')
-rw-r--r-- | sound/soc/codecs/wm8903.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c index d015745a886b..02de5ae42d63 100644 --- a/sound/soc/codecs/wm8903.c +++ b/sound/soc/codecs/wm8903.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <sound/soc.h> | 31 | #include <sound/soc.h> |
32 | #include <sound/initval.h> | 32 | #include <sound/initval.h> |
33 | #include <sound/wm8903.h> | 33 | #include <sound/wm8903.h> |
34 | #include <trace/events/asoc.h> | ||
34 | 35 | ||
35 | #include "wm8903.h" | 36 | #include "wm8903.h" |
36 | 37 | ||
@@ -1533,6 +1534,11 @@ static irqreturn_t wm8903_irq(int irq, void *data) | |||
1533 | mic_report = wm8903->mic_last_report; | 1534 | mic_report = wm8903->mic_last_report; |
1534 | int_pol = snd_soc_read(codec, WM8903_INTERRUPT_POLARITY_1); | 1535 | int_pol = snd_soc_read(codec, WM8903_INTERRUPT_POLARITY_1); |
1535 | 1536 | ||
1537 | #ifndef CONFIG_SND_SOC_WM8903_MODULE | ||
1538 | if (int_val & (WM8903_MICSHRT_EINT | WM8903_MICDET_EINT)) | ||
1539 | trace_snd_soc_jack_irq(dev_name(codec->dev)); | ||
1540 | #endif | ||
1541 | |||
1536 | if (int_val & WM8903_MICSHRT_EINT) { | 1542 | if (int_val & WM8903_MICSHRT_EINT) { |
1537 | dev_dbg(codec->dev, "Microphone short (pol=%x)\n", int_pol); | 1543 | dev_dbg(codec->dev, "Microphone short (pol=%x)\n", int_pol); |
1538 | 1544 | ||