From: David Daney Date: Wed, 9 Sep 2015 22:57:59 +0000 (-0700) Subject: of_pci_irq: Silence bogus "of_irq_parse_pci() failed ..." messages. X-Git-Tag: omap-for-v4.3/fixes-rc5~93^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8aa33a7114704f3f5a359893a8e1de9ea2940a5;p=pandora-kernel.git of_pci_irq: Silence bogus "of_irq_parse_pci() failed ..." messages. It is perfectly legitimate for a PCI device to have an PCI_INTERRUPT_PIN value of zero. This happens if the device doesn't use interrupts, or on PCIe devices, where only MSI/MSI-X are supported. Silence the annoying "of_irq_parse_pci() failed with rc=-19" error messages by moving the printing code into of_irq_parse_pci(), and only emitting the message for cases where PCI_INTERRUPT_PIN == 0 is not the cause for an early exit. Signed-off-by: David Daney Signed-off-by: Rob Herring --- Reading git-diff-tree failed