October 2017
Intermediate to advanced
354 pages
9h 28m
English
A driver's interrupt handlers can be deregistered through a call to the free_irq() routine:
/** * free_irq - free an interrupt allocated with request_irq * @irq: Interrupt line to free * @dev_id: Device identity to free * * 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. * Returns the devname argument passed to request_irq. */const void *free_irq(unsigned int irq, void *dev_id);
dev_id is the unique cookie (assigned ...
Read now
Unlock full access