PCI: cadence: Check link is up before sending IRQ from EP
If EP attempts to send an IRQ (legacy, MSI or MSI-X) while the
link is not up, return -EINVAL
Signed-off-by: Alan Douglas <adouglas@cadence.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>