I've ported a touch driver to my system and each time the interrupt handler
fires I am seeing this in the debug output.
gpio_irq_hdl: handler failed
I've checked the handler and it is passing back IRQ_HANDLED to this
function so it appears to be a bug in the code here.
if (pdev_id->handler) {
if (pdev_id->handler(pdev_id->parg) != IRQ_HANDLED) {
PIO_ERR("%s: handler failed\n", __func__);
}
}
The above code would always indicate an error for any handler passing back
the correct state as IRQ_HANDLED is defined as (1<<0)
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.