linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] staging: media: bcm2048: radio-bcm2048.c - removed IRQF_DISABLED macro
@ 2014-07-09  6:06 Anil Belur
  2014-07-09  6:06 ` [PATCH 2/2] staging: nokia_h4p: nokia_core.c " Anil Belur
  2014-07-09 11:45 ` [PATCH 1/2] staging: media: bcm2048: radio-bcm2048.c " Pavel Machek
  0 siblings, 2 replies; 5+ messages in thread
From: Anil Belur @ 2014-07-09  6:06 UTC (permalink / raw)
  To: m.chehab, dan.carpenter, pavel, gregkh
  Cc: linux-media, devel, linux-kernel, Anil Belur

From: Anil Belur <askb23@gmail.com>

- this patch removes IRQF_DISABLED macro, as this is
  deprecated/noop.

Signed-off-by: Anil Belur <askb23@gmail.com>
---
 drivers/staging/media/bcm2048/radio-bcm2048.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers/staging/media/bcm2048/radio-bcm2048.c
index bbf236e..8760eca 100644
--- a/drivers/staging/media/bcm2048/radio-bcm2048.c
+++ b/drivers/staging/media/bcm2048/radio-bcm2048.c
@@ -2618,7 +2618,7 @@ static int bcm2048_i2c_driver_probe(struct i2c_client *client,
 
 	if (client->irq) {
 		err = request_irq(client->irq,
-			bcm2048_handler, IRQF_TRIGGER_FALLING | IRQF_DISABLED,
+			bcm2048_handler, IRQF_TRIGGER_FALLING,
 			client->name, bdev);
 		if (err < 0) {
 			dev_err(&client->dev, "Could not request IRQ\n");
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] staging: nokia_h4p: nokia_core.c - removed IRQF_DISABLED macro
  2014-07-09  6:06 [PATCH 1/2] staging: media: bcm2048: radio-bcm2048.c - removed IRQF_DISABLED macro Anil Belur
@ 2014-07-09  6:06 ` Anil Belur
  2014-07-09 11:46   ` Pavel Machek
  2014-07-09 11:45 ` [PATCH 1/2] staging: media: bcm2048: radio-bcm2048.c " Pavel Machek
  1 sibling, 1 reply; 5+ messages in thread
From: Anil Belur @ 2014-07-09  6:06 UTC (permalink / raw)
  To: m.chehab, dan.carpenter, pavel, gregkh
  Cc: linux-media, devel, linux-kernel, Anil Belur

From: Anil Belur <askb23@gmail.com>

- this patch removes the IRQF_DISABLED macro, as this is
  deprecated/noop.

Signed-off-by: Anil Belur <askb23@gmail.com>
---
 drivers/staging/nokia_h4p/nokia_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/nokia_h4p/nokia_core.c b/drivers/staging/nokia_h4p/nokia_core.c
index 5e19cd6..840cc66 100644
--- a/drivers/staging/nokia_h4p/nokia_core.c
+++ b/drivers/staging/nokia_h4p/nokia_core.c
@@ -1141,7 +1141,7 @@ static int hci_h4p_probe(struct platform_device *pdev)
 
 	err = devm_request_irq(&pdev->dev, gpio_to_irq(info->host_wakeup_gpio),
 			  hci_h4p_wakeup_interrupt,  IRQF_TRIGGER_FALLING |
-			  IRQF_TRIGGER_RISING | IRQF_DISABLED,
+			  IRQF_TRIGGER_RISING,
 			  "hci_h4p_wkup", info);
 	if (err < 0) {
 		dev_err(info->dev, "hci_h4p: unable to get wakeup IRQ %d\n",
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] staging: media: bcm2048: radio-bcm2048.c - removed IRQF_DISABLED macro
  2014-07-09  6:06 [PATCH 1/2] staging: media: bcm2048: radio-bcm2048.c - removed IRQF_DISABLED macro Anil Belur
  2014-07-09  6:06 ` [PATCH 2/2] staging: nokia_h4p: nokia_core.c " Anil Belur
@ 2014-07-09 11:45 ` Pavel Machek
  1 sibling, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2014-07-09 11:45 UTC (permalink / raw)
  To: Anil Belur
  Cc: m.chehab, dan.carpenter, gregkh, linux-media, devel, linux-kernel

On Wed 2014-07-09 11:36:37, Anil Belur wrote:
> From: Anil Belur <askb23@gmail.com>
> 
> - this patch removes IRQF_DISABLED macro, as this is
>   deprecated/noop.
> 
> Signed-off-by: Anil Belur <askb23@gmail.com>

Acked-by: Pavel Machek <pavel@ucw.cz>

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] staging: nokia_h4p: nokia_core.c - removed IRQF_DISABLED macro
  2014-07-09  6:06 ` [PATCH 2/2] staging: nokia_h4p: nokia_core.c " Anil Belur
@ 2014-07-09 11:46   ` Pavel Machek
  2014-07-09 13:22     ` Anil Shashikumar Belur
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2014-07-09 11:46 UTC (permalink / raw)
  To: Anil Belur
  Cc: m.chehab, dan.carpenter, gregkh, linux-media, devel, linux-kernel

On Wed 2014-07-09 11:36:38, Anil Belur wrote:
> From: Anil Belur <askb23@gmail.com>
> 
> - this patch removes the IRQF_DISABLED macro, as this is
>   deprecated/noop.
> 
> Signed-off-by: Anil Belur <askb23@gmail.com>

Acked-by: Pavel Machek <pavel@ucw.cz>

I wonder if it would maek sense to do

./include/linux/interrupt.h:#define IRQF_DISABLED	0

to make it extra clear that it is nop now?
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] staging: nokia_h4p: nokia_core.c - removed IRQF_DISABLED macro
  2014-07-09 11:46   ` Pavel Machek
@ 2014-07-09 13:22     ` Anil Shashikumar Belur
  0 siblings, 0 replies; 5+ messages in thread
From: Anil Shashikumar Belur @ 2014-07-09 13:22 UTC (permalink / raw)
  To: Pavel Machek
  Cc: m.chehab, dan.carpenter, gregkh, linux-media, devel, linux-kernel


On Wednesday 09 July 2014 05:16 PM, Pavel Machek wrote:
> I wonder if it would maek sense to do
> ./include/linux/interrupt.h:#define IRQF_DISABLED 0 to make it extra
> clear that it is nop now? Pavel 
yes - it makes sense. there are still a few references to the macro in
the code.

Cheers,
Anil

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-07-09 13:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-09  6:06 [PATCH 1/2] staging: media: bcm2048: radio-bcm2048.c - removed IRQF_DISABLED macro Anil Belur
2014-07-09  6:06 ` [PATCH 2/2] staging: nokia_h4p: nokia_core.c " Anil Belur
2014-07-09 11:46   ` Pavel Machek
2014-07-09 13:22     ` Anil Shashikumar Belur
2014-07-09 11:45 ` [PATCH 1/2] staging: media: bcm2048: radio-bcm2048.c " Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).