Scroll to navigation

FREE_IRQ(9) Public Functions Provided FREE_IRQ(9)

NAME

free_irq - free an interrupt allocated with request_irq

SYNOPSIS

const void * free_irq(unsigned int irq, void * dev_id);

ARGUMENTS

irq

Interrupt line to free

dev_id

Device identity to free

DESCRIPTION

Remove an interrupt handler. The handler is removed and if the interrupt line is no longer in use by any driver it is disabled. On a shared IRQ the caller must ensure the interrupt is disabled on the card it drives before calling this function. The function does not return until any executing interrupts for this IRQ have completed.

This function must not be called from interrupt context.

Returns the devname argument passed to request_irq.

AUTHORS

Thomas Gleixner <tglx@linutronix.de>

Author.

Ingo Molnar <mingo@elte.hu>

Author.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10