El 24/07/14 a las 08:36, behrooz vosough escibió:
hello
I am using goodix-gt811 ctp 7 inch and i have not problem to use this
module but when i modprobe gpio-sunxi , the interrupt of my ctp disable
1- when gt811_ts is intalled and i modprobe gpio-sunxi ,this message
shown on Putty
the message is :
<6>sunxi_gpio driver init ver 1.3
<3>IRQ handler type mismatch for IRQ 60
<3>current handler: Goodix-TS
I haven't checked, but I'm pretty sure this is the PIO interrupt. It's
probably being requested as shared on the GPIO driver and as not shared
on the Goodix one.
As a workaround probably something like this would work
--- a/drivers/input/touchscreen/gt811_ts.c
+++ b/drivers/input/touchscreen/gt811_ts.c
@@ -1356,7 +1356,7 @@ err_gpio_request_failed:
#ifdef INT_PORT
- ret = request_irq(client->irq, goodix_ts_irq_handler ,
irq_table[ts->int_trigger_type],
+ ret = request_irq(client->irq, goodix_ts_irq_handler ,
irq_table[ts->int_trigger_type] | IRQF_SHARED,
client->name, ts);
if (ret != 0)
{
But on an ideal world, this would need to be rewritten to use the GPIO
API for the external interrupt instead of an ad-hoc implementation.
Cheers,
Emilio
--
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.