Commit 7fa945b
clk: check parent device UCLASS_CLK before retrieving clock pointer
Ensure the parent device is checked for UCLASS_CLK before retrieving its
clock pointer.
This fixes missing clocks in the clock dump caused by invalid parent
devices.
Change-Id: I2ada1510230dcacf6bfb924165fd18a3d48ae0f9
Signed-off-by: Gabriel FERNANDEZ <gabriel.fernandez@st.com>
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/u-boot/+/516402
Tested-by: Gabriel FERNANDEZ <gabriel.fernandez@foss.st.com>
ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com>
ACI: CIBUILD <MDG-smet-aci-builds@list.st.com>
Reviewed-by: Patrice CHOTARD <patrice.chotard@foss.st.com>
Domain-Review: Patrick DELAUNAY <patrick.delaunay@foss.st.com>
Reviewed-by: Gabriel FERNANDEZ <gabriel.fernandez@foss.st.com>1 parent 0f9b6e4 commit 7fa945b
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
509 | 513 | | |
510 | 514 | | |
511 | 515 | | |
| |||
0 commit comments