From: Axel Lin <axel.lin@ingics.com>
To: Mark Brown <broonie@kernel.org>
Cc: Fabio Estevam <fabio.estevam@freescale.com>,
Michal Marek <mmarek@suse.cz>,
alsa-devel@alsa-project.org, Lars-Peter Clausen <lars@metafoo.de>,
Liam Girdwood <lgirdwood@gmail.com>,
Julia Lawall <Julia.Lawall@lip6.fr>,
Charles Keepax <ckeepax@opensource.wolfsonmicro.com>,
Fengguang Wu <fengguang.wu@intel.com>
Subject: [PATCH 2/3] Revert "ASoC: wm5100: Pass the IRQF_ONESHOT flag"
Date: Thu, 02 Jul 2015 21:27:48 +0800 [thread overview]
Message-ID: <1435843668.17967.2.camel@ingics.com> (raw)
In-Reply-To: <1435843604.17967.1.camel@ingics.com>
This reverts 3d907cc30d07 ("ASoC: wm5100: Pass the IRQF_ONESHOT flag").
The coccinelle warnings is false positive because the original code does
set IRQF_ONESHOT by "trigger |= IRQF_ONESHOT;".
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
sound/soc/codecs/wm5100.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index 4c10cd8..98495dd 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -2570,13 +2570,11 @@ static int wm5100_i2c_probe(struct i2c_client *i2c,
if (irq_flags & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING))
ret = request_threaded_irq(i2c->irq, NULL,
- wm5100_edge_irq,
- irq_flags | IRQF_ONESHOT,
+ wm5100_edge_irq, irq_flags,
"wm5100", wm5100);
else
ret = request_threaded_irq(i2c->irq, NULL, wm5100_irq,
- irq_flags | IRQF_ONESHOT,
- "wm5100",
+ irq_flags, "wm5100",
wm5100);
if (ret != 0) {
--
2.1.0
next prev parent reply other threads:[~2015-07-02 13:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-02 13:26 [PATCH 1/3] Revert "ASoC: wm0010: Add missing IRQF_ONESHOT" Axel Lin
2015-07-02 13:27 ` Axel Lin [this message]
2015-07-02 13:29 ` [PATCH 3/3] Revert "ASoC: wm8996: Pass the IRQF_ONESHOT flag" Axel Lin
2015-07-08 18:34 ` Mark Brown
2015-07-09 1:52 ` Axel Lin
2015-07-09 8:27 ` Mark Brown
2015-07-07 9:58 ` [PATCH 1/3] Revert "ASoC: wm0010: Add missing IRQF_ONESHOT" Charles Keepax
2015-07-07 13:50 ` Fabio Estevam
2015-07-08 18:50 ` Applied "ASoC: wm0010: Remove spurious missing IRQF_ONESHOT" to the asoc tree Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1435843668.17967.2.camel@ingics.com \
--to=axel.lin@ingics.com \
--cc=Julia.Lawall@lip6.fr \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=ckeepax@opensource.wolfsonmicro.com \
--cc=fabio.estevam@freescale.com \
--cc=fengguang.wu@intel.com \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=mmarek@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.