mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
staging: irq: Remove IRQF_DISABLED
This flag is a NOOP and can be removed now. Signed-off-by: Yong Zhang <yong.zhang0@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
6f27457b50
commit
18e9351e45
@ -708,7 +708,7 @@ static int cx25821_audio_initdev(struct cx25821_dev *dev)
|
||||
chip->irq = dev->pci->irq;
|
||||
|
||||
err = request_irq(dev->pci->irq, cx25821_irq,
|
||||
IRQF_SHARED | IRQF_DISABLED, chip->dev->name, chip);
|
||||
IRQF_SHARED, chip->dev->name, chip);
|
||||
|
||||
if (err < 0) {
|
||||
pr_err("ERROR %s: can't get IRQ %d for ALSA\n",
|
||||
|
@ -680,7 +680,7 @@ int cx25821_start_audio_dma_upstream(struct cx25821_dev *dev,
|
||||
|
||||
err =
|
||||
request_irq(dev->pci->irq, cx25821_upstream_irq_audio,
|
||||
IRQF_SHARED | IRQF_DISABLED, dev->name, dev);
|
||||
IRQF_SHARED, dev->name, dev);
|
||||
if (err < 0) {
|
||||
pr_err("%s: can't get upstream IRQ %d\n",
|
||||
dev->name, dev->pci->irq);
|
||||
|
@ -1428,7 +1428,7 @@ static int __devinit cx25821_initdev(struct pci_dev *pci_dev,
|
||||
}
|
||||
|
||||
err =
|
||||
request_irq(pci_dev->irq, cx25821_irq, IRQF_SHARED | IRQF_DISABLED,
|
||||
request_irq(pci_dev->irq, cx25821_irq, IRQF_SHARED,
|
||||
dev->name, dev);
|
||||
|
||||
if (err < 0) {
|
||||
|
@ -693,7 +693,7 @@ int cx25821_start_video_dma_upstream_ch2(struct cx25821_dev *dev,
|
||||
|
||||
err =
|
||||
request_irq(dev->pci->irq, cx25821_upstream_irq_ch2,
|
||||
IRQF_SHARED | IRQF_DISABLED, dev->name, dev);
|
||||
IRQF_SHARED, dev->name, dev);
|
||||
if (err < 0) {
|
||||
pr_err("%s: can't get upstream IRQ %d\n",
|
||||
dev->name, dev->pci->irq);
|
||||
|
@ -749,7 +749,7 @@ int cx25821_start_video_dma_upstream(struct cx25821_dev *dev,
|
||||
|
||||
err =
|
||||
request_irq(dev->pci->irq, cx25821_upstream_irq,
|
||||
IRQF_SHARED | IRQF_DISABLED, dev->name, dev);
|
||||
IRQF_SHARED, dev->name, dev);
|
||||
if (err < 0) {
|
||||
pr_err("%s: can't get upstream IRQ %d\n",
|
||||
dev->name, dev->pci->irq);
|
||||
|
@ -1017,13 +1017,7 @@ c4_add_dev (hdw_info_t * hi, int brdno, unsigned long f0, unsigned long f1,
|
||||
**************************************************************/
|
||||
|
||||
if (request_irq (irq0, &c4_linux_interrupt,
|
||||
#if defined(SBE_ISR_TASKLET)
|
||||
IRQF_DISABLED | IRQF_SHARED,
|
||||
#elif defined(SBE_ISR_IMMEDIATE)
|
||||
IRQF_DISABLED | IRQF_SHARED,
|
||||
#elif defined(SBE_ISR_INLINE)
|
||||
IRQF_SHARED,
|
||||
#endif
|
||||
ndev->name, ndev))
|
||||
{
|
||||
pr_warning("%s: MUSYCC could not get irq: %d\n", ndev->name, irq0);
|
||||
|
@ -841,7 +841,7 @@ static int init_port(void)
|
||||
int i, nlow, nhigh, result;
|
||||
|
||||
result = request_irq(irq, irq_handler,
|
||||
IRQF_DISABLED | (share_irq ? IRQF_SHARED : 0),
|
||||
(share_irq ? IRQF_SHARED : 0),
|
||||
LIRC_DRIVER_NAME, (void *)&hardware);
|
||||
|
||||
switch (result) {
|
||||
|
@ -967,7 +967,7 @@ static int init_port(void)
|
||||
return -EBUSY;
|
||||
}
|
||||
#endif
|
||||
retval = request_irq(irq, sir_interrupt, IRQF_DISABLED,
|
||||
retval = request_irq(irq, sir_interrupt, 0,
|
||||
LIRC_DRIVER_NAME, NULL);
|
||||
if (retval < 0) {
|
||||
# ifndef LIRC_ON_SA1100
|
||||
|
Loading…
Reference in New Issue
Block a user