commit | cb7093ddbe8eaaa19eb69de5c6906a9a0f436044 | [log] [tgz] |
---|---|---|
author | Suneel Garapati <sgarapati@marvell.com> | Sat Oct 19 16:02:48 2019 -0700 |
committer | Stefan Roese <sr@denx.de> | Tue Aug 25 05:41:09 2020 +0200 |
tree | 8bd475dc362c27d31cb74750af76a18b51bdac47 | |
parent | 47f19628ffcfa98c3d10f86235ff02871dc2a5b8 [diff] |
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: Suneel Garapati <sgarapati@marvell.com> Reviewed-by: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com>