* [PATCH] serial: tegra: remove deprecated IRQF_DISABLED @ 2013-10-06 6:30 Michael Opdenacker [not found] ` <1381041017-12806-1-git-send-email-michael.opdenacker-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Michael Opdenacker @ 2013-10-06 6:30 UTC (permalink / raw) To: gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r, jslaby-AlSwsSmVLrQ, swarren-3lzwWm7+Weoh9ZMKESR00Q Cc: linux-serial-u79uwXL29TY76Z2rM5mHXA, linux-tegra-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Michael Opdenacker This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker <michael.opdenacker-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> --- drivers/tty/serial/serial-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c index 0489a2b..dfe79cc 100644 --- a/drivers/tty/serial/serial-tegra.c +++ b/drivers/tty/serial/serial-tegra.c @@ -1018,7 +1018,7 @@ static int tegra_uart_startup(struct uart_port *u) goto fail_hw_init; } - ret = request_irq(u->irq, tegra_uart_isr, IRQF_DISABLED, + ret = request_irq(u->irq, tegra_uart_isr, 0, dev_name(u->dev), tup); if (ret < 0) { dev_err(u->dev, "Failed to register ISR for IRQ %d\n", u->irq); -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 3+ messages in thread
[parent not found: <1381041017-12806-1-git-send-email-michael.opdenacker-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>]
* Re: [PATCH] serial: tegra: remove deprecated IRQF_DISABLED [not found] ` <1381041017-12806-1-git-send-email-michael.opdenacker-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> @ 2013-10-07 17:07 ` Stephen Warren 2013-10-08 7:01 ` Laxman Dewangan 0 siblings, 1 reply; 3+ messages in thread From: Stephen Warren @ 2013-10-07 17:07 UTC (permalink / raw) To: Michael Opdenacker, gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r, jslaby-AlSwsSmVLrQ, Laxman Dewangan Cc: linux-serial-u79uwXL29TY76Z2rM5mHXA, linux-tegra-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA On 10/06/2013 12:30 AM, Michael Opdenacker wrote: > This patch proposes to remove the use of the IRQF_DISABLED flag > > It's a NOOP since 2.6.35 and it will be removed one day. Laxman, care to comment? I'm not sure why the code explicitly specifies IRQF_DISABLED if it's already a no-op. Perhaps the code expects IRQF_DISABLED to do something, and hence there's some bug that needs to be fixed because of it doesn't? > Signed-off-by: Michael Opdenacker <michael.opdenacker-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> > --- > drivers/tty/serial/serial-tegra.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c > index 0489a2b..dfe79cc 100644 > --- a/drivers/tty/serial/serial-tegra.c > +++ b/drivers/tty/serial/serial-tegra.c > @@ -1018,7 +1018,7 @@ static int tegra_uart_startup(struct uart_port *u) > goto fail_hw_init; > } > > - ret = request_irq(u->irq, tegra_uart_isr, IRQF_DISABLED, > + ret = request_irq(u->irq, tegra_uart_isr, 0, > dev_name(u->dev), tup); > if (ret < 0) { > dev_err(u->dev, "Failed to register ISR for IRQ %d\n", u->irq); > ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] serial: tegra: remove deprecated IRQF_DISABLED 2013-10-07 17:07 ` Stephen Warren @ 2013-10-08 7:01 ` Laxman Dewangan 0 siblings, 0 replies; 3+ messages in thread From: Laxman Dewangan @ 2013-10-08 7:01 UTC (permalink / raw) To: Stephen Warren Cc: Michael Opdenacker, gregkh@linuxfoundation.org, jslaby@suse.cz, linux-serial@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org On Monday 07 October 2013 10:37 PM, Stephen Warren wrote: > On 10/06/2013 12:30 AM, Michael Opdenacker wrote: >> This patch proposes to remove the use of the IRQF_DISABLED flag >> >> It's a NOOP since 2.6.35 and it will be removed one day. > Laxman, care to comment? I'm not sure why the code explicitly specifies > IRQF_DISABLED if it's already a no-op. Perhaps the code expects > IRQF_DISABLED to do something, and hence there's some bug that needs to > be fixed because of it doesn't? > We are having this flag in our downstream driver from very long and hence this is there when I wrote for the upstream driver. I checked with BT without this flag and it worked fine so it is fine to remove this flag. Acked-by: Laxman Dewangan <ldewangan@nvidia.com> ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-08 6:36 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-10-06 6:30 [PATCH] serial: tegra: remove deprecated IRQF_DISABLED Michael Opdenacker [not found] ` <1381041017-12806-1-git-send-email-michael.opdenacker-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2013-10-07 17:07 ` Stephen Warren 2013-10-08 7:01 ` Laxman Dewangan
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).