Re: [PATCH 25/62] staging: irq: Remove IRQF_DISABLED

Marc Dietich
2011-09-08T10:41:44Z

> This flag is a NOOP and can be removed now.
>
> Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
> ---
> drivers/staging/cx25821/cx25821-alsa.c | 2 +-
> drivers/staging/cx25821/cx25821-audio-upstream.c | 2 +-
> drivers/staging/cx25821/cx25821-core.c | 2 +-
> .../staging/cx25821/cx25821-video-upstream-ch2.c | 2 +-
> drivers/staging/cx25821/cx25821-video-upstream.c | 2 +-
> drivers/staging/cxt1e1/linux.c | 6 ------
> drivers/staging/lirc/lirc_serial.c | 2 +-
> drivers/staging/lirc/lirc_sir.c | 2 +-
> drivers/staging/nvec/nvec.c | 2 +-
> 9 files changed, 8 insertions(+), 14 deletions(-)
>
> [...]
>
> diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
> index 72258e8..6210c95 100644
> --- a/drivers/staging/nvec/nvec.c
> +++ b/drivers/staging/nvec/nvec.c
> @@ -339,7 +339,7 @@ static int __devinit tegra_nvec_probe(struct
> platform_device *pdev)
>
> tegra_init_i2c_slave(pdata, i2c_regs, i2c_clk);
>
> - err = request_irq(nvec->irq, i2c_interrupt, IRQF_DISABLED, "nvec", nvec);
> + err = request_irq(nvec->irq, i2c_interrupt, 0, "nvec", nvec);
> if(err) {
> dev_err(nvec->dev, "couldn't request irq");
> goto failed;

This is already fixed in
http://driverdev.linuxdriverproject.org/pipermail/devel/2011-August/018960.html
which went into the staging tree (which is currently not available).

Marc