Invalid number returned by the function irq_to_gpio()
Brought to you by:
sszy
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.