Commit fa53d5cd authored by Michael Opdenacker's avatar Michael Opdenacker Committed by Kukjin Kim

ARM: SAMSUNG: remove IRQF_DISABLED

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: default avatarMichael Opdenacker <michael.opdenacker@free-electrons.com>
Reviewed-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent b65f372a
...@@ -742,7 +742,7 @@ int s3c2410_dma_request(enum dma_ch channel, ...@@ -742,7 +742,7 @@ int s3c2410_dma_request(enum dma_ch channel,
chan->irq_claimed = 1; chan->irq_claimed = 1;
local_irq_restore(flags); local_irq_restore(flags);
err = request_irq(chan->irq, s3c2410_dma_irq, IRQF_DISABLED, err = request_irq(chan->irq, s3c2410_dma_irq, 0,
client->name, (void *)chan); client->name, (void *)chan);
local_irq_save(flags); local_irq_save(flags);
......
...@@ -78,8 +78,7 @@ static void usb_simtec_enableoc(struct s3c2410_hcd_info *info, int on) ...@@ -78,8 +78,7 @@ static void usb_simtec_enableoc(struct s3c2410_hcd_info *info, int on)
if (on) { if (on) {
ret = request_irq(BAST_IRQ_USBOC, usb_simtec_ocirq, ret = request_irq(BAST_IRQ_USBOC, usb_simtec_ocirq,
IRQF_DISABLED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
IRQF_TRIGGER_FALLING,
"USB Over-current", info); "USB Over-current", info);
if (ret != 0) { if (ret != 0) {
printk(KERN_ERR "failed to request usb oc irq\n"); printk(KERN_ERR "failed to request usb oc irq\n");
......
...@@ -106,7 +106,7 @@ static void smartq_usb_host_enableoc(struct s3c2410_hcd_info *info, int on) ...@@ -106,7 +106,7 @@ static void smartq_usb_host_enableoc(struct s3c2410_hcd_info *info, int on)
if (on) { if (on) {
ret = request_irq(gpio_to_irq(S3C64XX_GPL(10)), ret = request_irq(gpio_to_irq(S3C64XX_GPL(10)),
smartq_usb_host_ocirq, IRQF_DISABLED | smartq_usb_host_ocirq,
IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
"USB host overcurrent", info); "USB host overcurrent", info);
if (ret != 0) if (ret != 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment