Menu

#79 Invalid number returned by the function irq_to_gpio()

Armadeus-3.4
open
6
2012-12-11
2012-07-04
jorasse
No

dev->irq = gpio_to_irq(243);
irq_to_gpio(dev->irq) ===> 211
irq_to_gpio() doesn't return the GPIO number initally given in parameter of gpio_to_irq. I think the problem is in irq_to_gpio() and not in gpio_to_irq() because my interrupt routine is called anyway.

Discussion


Log in to post a comment.