diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-07-08 16:37:17 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-07-17 16:42:49 +1000 |
commit | 08a45b320a0ec76866acca7db2fe2647387e5c21 (patch) | |
tree | d52230dd5d911385138dd03357774181de5a3c65 /arch/powerpc/platforms/fsl_uli1575.c | |
parent | a1339faf72ac0d90797516ad0996cec18fe534b5 (diff) |
powerpc/powernv/pci: Check status of a PHB before using it
If the firmware encounters an error (internal or HW) during initialization
of a PHB, it might leave the device-node in the tree but mark it disabled
using the "status" property. We should check it.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/fsl_uli1575.c')
0 files changed, 0 insertions, 0 deletions