Re: [RFC PATCH v8 4/7] of/irq: Adjust of pci irq parsing for multiple interrupts
From: Rob Herring
Date: Thu Oct 26 2017 - 16:03:01 EST
On Thu, Oct 26, 2017 at 8:28 AM, Jeffy Chen <jeffy.chen@xxxxxxxxxxxxxx> wrote:
> Currently we are considering the first irq as the PCI interrupt pin,
> but a pci device may have multiple interrupts(e.g. PCIe WAKE# pin).
>
> Only parse the PCI interrupt pin when the irq is unnamed or named as
> "pci".
Why do you need this patch? You're moving the wakeup handling from the
PCI device to the bridge. The bridge device is not PCI interrupts, but
a platform device so this function doesn't matter.
Rob