venkateshpnv
venkateshpnv

Reputation: 41

Difference between request_irq() and setup_irq()

Whats the difference between request_irq and setup_irq?

When to use request_irq() when to go with setup_irq()

Upvotes: 1

Views: 934

Answers (1)

superdesk
superdesk

Reputation: 1172

From the kernel source, kernel/irq/manage.c, setup_irq() is "Used to statically setup interrupts in the early boot process."

request_irq() is the function that you would use under most circumstances.

Upvotes: 3

Related Questions