phy: phy-uclass: check the parents for phys
authorAngus Ainslie <angus@akkea.ca>
Thu, 3 Feb 2022 18:08:38 +0000 (10:08 -0800)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Feb 2022 17:05:44 +0000 (10:05 -0700)
commit606a14ba2f0e01cf7aefe4924d17b5dfda27d1de
tree0b7c3d8d3528438dde2b1e70049555717270c1eb
parent6a0b5f8b9caa0c8e3a39ed8c979cfdbbf66b1841
phy: phy-uclass: check the parents for phys

The port/hub leaf nodes don't contain the phy definitions in some dts
files so check the parents.

Signed-off-by: Angus Ainslie <angus@akkea.ca>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/phy/phy-uclass.c