Em Ter, 2009-05-26 às 02:10 -0300, Daniel Ribeiro escreveu: > > > + set_irq_type(pdata->irq, IRQ_TYPE_EDGE_RISING); > > > + set_irq_chained_handler(pdata->irq, pcap_irq_handler); > > > + set_irq_wake(pdata->irq, 1); > > > > Looking at the other MFD drivers that register a chained handler, > > providing this IRQ via a resource seems to be the default. > > Ok, will do.
Oops, I can't do this, sorry. PCAP is not a platform_driver, its a spi_driver. I will set this on spi_device->irq instead of platform_data. -- Daniel Ribeiro