aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorYong Zhang <yong.zhang0@gmail.com>2011-10-22 05:56:55 -0400
committerGrant Likely <grant.likely@secretlab.ca>2011-10-24 08:14:40 -0400
commit38ada214fad79ff5ebbed58932c5f0c9969d9c91 (patch)
tree455e7c0623154f782c2dc75fa439ec7e0b682dc9 /drivers/spi
parent1458d160de3f1862aeaac57447ba96e7857ac52b (diff)
spi: irq: Remove IRQF_DISABLED
Since commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled and we even check and yell when an interrupt handler returns with interrupts enabled (see commit [b738a50a: genirq: Warn when handler enables interrupts]). So now this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang <yong.zhang0@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-bfin5xx.c2
-rw-r--r--drivers/spi/spi-coldfire-qspi.c2
-rw-r--r--drivers/spi/spi-ppc4xx.c2
-rw-r--r--drivers/spi/spi-sh-msiof.c2
-rw-r--r--drivers/spi/spi-sh.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/drivers/spi/spi-bfin5xx.c b/drivers/spi/spi-bfin5xx.c
index b8d25f2b7038..3b83ff8b1e2b 100644
--- a/drivers/spi/spi-bfin5xx.c
+++ b/drivers/spi/spi-bfin5xx.c
@@ -1098,7 +1098,7 @@ static int bfin_spi_setup(struct spi_device *spi)
1098 1098
1099 if (chip->pio_interrupt && !drv_data->irq_requested) { 1099 if (chip->pio_interrupt && !drv_data->irq_requested) {
1100 ret = request_irq(drv_data->spi_irq, bfin_spi_pio_irq_handler, 1100 ret = request_irq(drv_data->spi_irq, bfin_spi_pio_irq_handler,
1101 IRQF_DISABLED, "BFIN_SPI", drv_data); 1101 0, "BFIN_SPI", drv_data);
1102 if (ret) { 1102 if (ret) {
1103 dev_err(&spi->dev, "Unable to register spi IRQ\n"); 1103 dev_err(&spi->dev, "Unable to register spi IRQ\n");
1104 goto error; 1104 goto error;
diff --git a/drivers/spi/spi-coldfire-qspi.c b/drivers/spi/spi-coldfire-qspi.c
index ae2cd1c1fda8..7397c4d57007 100644
--- a/drivers/spi/spi-coldfire-qspi.c
+++ b/drivers/spi/spi-coldfire-qspi.c
@@ -487,7 +487,7 @@ static int __devinit mcfqspi_probe(struct platform_device *pdev)
487 goto fail2; 487 goto fail2;
488 } 488 }
489 489
490 status = request_irq(mcfqspi->irq, mcfqspi_irq_handler, IRQF_DISABLED, 490 status = request_irq(mcfqspi->irq, mcfqspi_irq_handler, 0,
491 pdev->name, mcfqspi); 491 pdev->name, mcfqspi);
492 if (status) { 492 if (status) {
493 dev_dbg(&pdev->dev, "request_irq failed\n"); 493 dev_dbg(&pdev->dev, "request_irq failed\n");
diff --git a/drivers/spi/spi-ppc4xx.c b/drivers/spi/spi-ppc4xx.c
index b267fd901e54..8ec43e07aa1e 100644
--- a/drivers/spi/spi-ppc4xx.c
+++ b/drivers/spi/spi-ppc4xx.c
@@ -514,7 +514,7 @@ static int __init spi_ppc4xx_of_probe(struct platform_device *op)
514 /* Request IRQ */ 514 /* Request IRQ */
515 hw->irqnum = irq_of_parse_and_map(np, 0); 515 hw->irqnum = irq_of_parse_and_map(np, 0);
516 ret = request_irq(hw->irqnum, spi_ppc4xx_int, 516 ret = request_irq(hw->irqnum, spi_ppc4xx_int,
517 IRQF_DISABLED, "spi_ppc4xx_of", (void *)hw); 517 0, "spi_ppc4xx_of", (void *)hw);
518 if (ret) { 518 if (ret) {
519 dev_err(dev, "unable to allocate interrupt\n"); 519 dev_err(dev, "unable to allocate interrupt\n");
520 goto free_gpios; 520 goto free_gpios;
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c
index e00d94b22250..e38554f89256 100644
--- a/drivers/spi/spi-sh-msiof.c
+++ b/drivers/spi/spi-sh-msiof.c
@@ -635,7 +635,7 @@ static int sh_msiof_spi_probe(struct platform_device *pdev)
635 goto err2; 635 goto err2;
636 } 636 }
637 637
638 ret = request_irq(i, sh_msiof_spi_irq, IRQF_DISABLED, 638 ret = request_irq(i, sh_msiof_spi_irq, 0,
639 dev_name(&pdev->dev), p); 639 dev_name(&pdev->dev), p);
640 if (ret) { 640 if (ret) {
641 dev_err(&pdev->dev, "unable to request irq\n"); 641 dev_err(&pdev->dev, "unable to request irq\n");
diff --git a/drivers/spi/spi-sh.c b/drivers/spi/spi-sh.c
index 9eedd71ad898..e0343d48da6c 100644
--- a/drivers/spi/spi-sh.c
+++ b/drivers/spi/spi-sh.c
@@ -484,7 +484,7 @@ static int __devinit spi_sh_probe(struct platform_device *pdev)
484 goto error2; 484 goto error2;
485 } 485 }
486 486
487 ret = request_irq(irq, spi_sh_irq, IRQF_DISABLED, "spi_sh", ss); 487 ret = request_irq(irq, spi_sh_irq, 0, "spi_sh", ss);
488 if (ret < 0) { 488 if (ret < 0) {
489 dev_err(&pdev->dev, "request_irq error\n"); 489 dev_err(&pdev->dev, "request_irq error\n");
490 goto error3; 490 goto error3;