Re: [PATCH v2] MFD: PCAP core driver.

From: Daniel Ribeiro
Date: Tue May 26 2009 - 02:14:52 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/