Skip to content
Commit bc30140d authored by Suneel Garapati's avatar Suneel Garapati Committed by Stefan Roese
Browse files

pci: pci-uclass: Make DT subnode parse optional



Parse subnode DT properties only if parent node is valid.
Otherwise, assert is triggered on ofnode_valid in ofnode_first_subnode
from dev_for_each_subnode.

Signed-off-by: default avatarSuneel Garapati <sgarapati@marvell.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
parent b3699a13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment