]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI: rcar: Return -ENODEV from host bridge probe when no card present
authorHarunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Fri, 16 Dec 2016 11:50:04 +0000 (12:50 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 11 Jan 2017 18:39:29 +0000 (12:39 -0600)
commite94888d23736cec51ba851f6e798d0eeb9ef5f41
tree48eff96435868f8b3b34dc3feba80755a0556f16
parent7ce7d89f48834cefece7804d38fc5d85382edf77
PCI: rcar: Return -ENODEV from host bridge probe when no card present

R-Car PCIe does not support hotplug so it is appropriate to treat the
absence of a PCIe card as an -ENODEV error.

Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
[simon: updated changelog]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-rcar.c