Revert "ASoC: wm0010: Add missing IRQF_ONESHOT"
Subsystems (3)
PATCH 1/3 Revert "ASoC: wm0010: Add missing IRQF_ONESHOT"
This reverts 58d468328646 ("ASoC: wm0010: Add missing IRQF_ONESHOT").
The coccinelle warnings is false positive because the original code does set IRQF_ONESHOT by "trigger |= IRQF_ONESHOT;".
--- sound/soc/codecs/wm0010.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/wm0010.c +1 -1
@@ -953,7 +953,7 @@ static int wm0010_spi_probe(struct spi_device *spi) trigger =IRQF_TRIGGER_FALLING ; trigger |=IRQF_ONESHOT ; - ret =request_threaded_irq (irq,NULL , wm0010_irq, trigger |IRQF_ONESHOT , + ret =request_threaded_irq (irq,NULL , wm0010_irq, trigger,"wm0010" , wm0010);if (ret) { dev_err(wm0010->dev, "Failed to request IRQ %d: %d\n",
Signature · 1 line
2.1.0
PATCH 2/3 Revert "ASoC: wm5100: Pass the IRQF_ONESHOT flag"
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;".
--- sound/soc/codecs/wm5100.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
sound/soc/codecs/wm5100.c +2 -4
@@ -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 ) {
Signature · 1 line
2.1.0
PATCH 3/3 Revert "ASoC: wm8996: Pass the IRQF_ONESHOT flag"
In reply to Axel LinThis reverts ed043aebe6ec ("ASoC: wm8996: Pass the IRQF_ONESHOT flag").
The coccinelle warnings is false positive because the original code does set IRQF_ONESHOT by "trigger |= IRQF_ONESHOT;".
--- sound/soc/codecs/wm8996.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
sound/soc/codecs/wm8996.c +2 -4
@@ -2647,12 +2647,10 @@ static int wm8996_probe(struct snd_soc_codec *codec)if (irq_flags & (IRQF_TRIGGER_RISING |IRQF_TRIGGER_FALLING )) ret =request_threaded_irq (i2c->irq,NULL , wm8996_edge_irq, - irq_flags |IRQF_ONESHOT , -"wm8996" , codec); + irq_flags,"wm8996" , codec);else ret =request_threaded_irq (i2c->irq,NULL , wm8996_irq, - irq_flags |IRQF_ONESHOT , -"wm8996" , codec); + irq_flags,"wm8996" , codec);if (ret ==0 ) {/* Unmask the interrupt */
Signature · 1 line
2.1.0
Mark Brown
maintainerRe: [PATCH 3/3] Revert "ASoC: wm8996: Pass the IRQF_ONESHOT flag"
Quoted 1 line · Axel Lin
This reverts
ed043aebe6ec("ASoC: wm8996: Pass theIRQF_ONESHOTflag").
Please use subject lines reflecting the style for the subsystem, even for reverts.
Re: [PATCH 3/3] Revert "ASoC: wm8996: Pass the IRQF_ONESHOT flag"
2015-07-09 2:34 GMT+08:00 Mark Brown <[email protected]>:
Quoted 5 lines · Axel Lin
Quoted 1 line
This reverts
ed043aebe6ec("ASoC: wm8996: Pass theIRQF_ONESHOTflag").Please use subject lines reflecting the style for the subsystem, even for reverts.
I don't get it.
I thought if a patch is actually a revert, it should look like a revert. So I generate the patch by "git revert". Is that wrong?
Mark Brown
maintainerRe: [PATCH 3/3] Revert "ASoC: wm8996: Pass the IRQF_ONESHOT flag"
Quoted 11 lines · Axel Lin
2015-07-09 2:34 GMT+08:00 Mark Brown <[email protected]>:
Quoted 6 lines · Axel Lin
Quoted 2 lines
This reverts
ed043aebe6ec("ASoC: wm8996: Pass theIRQF_ONESHOTflag").Please use subject lines reflecting the style for the subsystem, even for reverts.
I don't get it.
I thought if a patch is actually a revert, it should look like a revert. So I generate the patch by "git revert". Is that wrong?
You should edit the default subject line to be a normal subject line. Reverts are patches like any other.
Quoted 7 lines · Axel Lin
This reverts
58d468328646("ASoC: wm0010: Add missingIRQF_ONESHOT").The coccinelle warnings is false positive because the original code does set
IRQF_ONESHOTby "trigger |=IRQF_ONESHOT;".Signed-off-by Axel Lin <[email protected]>---
For the whole series:
Thanks,
Charles
Quoted 6 lines · Axel Lin
This reverts
58d468328646("ASoC: wm0010: Add missingIRQF_ONESHOT").The coccinelle warnings is false positive because the original code does set
IRQF_ONESHOTby "trigger |=IRQF_ONESHOT;".Signed-off-by Axel Lin <[email protected]>
Ops, sorry about that:
Mark Brown
maintainerApplied "ASoC: wm0010: Remove spurious missing IRQF_ONESHOT" to the asoc tree
In reply to Axel LinThe patch
ASoC: wm0010: Remove spurious missing IRQF_ONESHOT
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
030e6ee241f0586308622bcdd273a317976b3169Mon Sep 17 00:00:00 2001
From: Axel Lin <[email protected]>
Date: Thu, 2 Jul 2015 21:26:44 +0800
Subject: [PATCH] ASoC: wm0010: Remove spurious missing IRQF_ONESHOT
This reverts 58d468328646 ("ASoC: wm0010: Add missing IRQF_ONESHOT").
The coccinelle warnings is false positive because the original code does set IRQF_ONESHOT by "trigger |= IRQF_ONESHOT;".
--- sound/soc/codecs/wm0010.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/wm0010.c +1 -1
@@ -953,7 +953,7 @@ static int wm0010_spi_probe(struct spi_device *spi) trigger =IRQF_TRIGGER_FALLING ; trigger |=IRQF_ONESHOT ; - ret =request_threaded_irq (irq,NULL , wm0010_irq, trigger |IRQF_ONESHOT , + ret =request_threaded_irq (irq,NULL , wm0010_irq, trigger,"wm0010" , wm0010);if (ret) { dev_err(wm0010->dev, "Failed to request IRQ %d: %d\n",
Signature · 1 line
2.1.4