26 Aug
2015
26 Aug
'15
12:01 p.m.
On Wed, Aug 26, 2015 at 10:58:06AM +0200, Christian Hartmann wrote:
Question about the spi-irq to clarify it for me: does this spi irq device belongs to the arizona child (the wm5102) or is this irq only of the spi master ? I much as I understand, this irq is from the spi master, the arizona spi child , the wm510205, has another irq , attachted at the irq_gpio - I am right so far??
The master should already have IRQ. This is about assigning IRQ for the SPI childe device.
You probably want to do same to SPI core that was done for I2C:
845c877009cf014b9 ("i2c / ACPI: Assign IRQ for devices that have GpioInt automatically")
Then it will automatically assign first found GpioInt to the SPI device in question.