Re: [PATCH] PCI: rcar: Check for OF device match early

2017-02-02 Thread Simon Horman
On Tue, Jan 31, 2017 at 10:43:39PM +0100, Geert Uytterhoeven wrote: > Hi Bjorn, > > On Tue, Jan 31, 2017 at 7:09 PM, Bjorn Helgaas wrote: > > On Tue, Jan 31, 2017 at 04:33:15PM +0100, Geert Uytterhoeven wrote: > >> On Tue, Jan 31, 2017 at 4:10 PM, Bjorn Helgaas

Re: [PATCH] PCI: rcar: Check for OF device match early

2017-01-31 Thread Bjorn Helgaas
On Tue, Jan 31, 2017 at 04:33:15PM +0100, Geert Uytterhoeven wrote: > Hi Bjorn, > > On Tue, Jan 31, 2017 at 4:10 PM, Bjorn Helgaas wrote: > > A match in the rcar_pcie_of_match[] table is required, so check that first, > > before we start setting up things that need to be

[PATCH] PCI: rcar: Check for OF device match early

2017-01-31 Thread Bjorn Helgaas
A match in the rcar_pcie_of_match[] table is required, so check that first, before we start setting up things that need to be undone if it fails. No functional change intended. Signed-off-by: Bjorn Helgaas --- drivers/pci/host/pcie-rcar.c | 10 +- 1 file changed,