Searched hist:"7417 cda6aeaf6abf48dfbe22dc965b626f61c613" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/drivers/st/clk/ |
| H A D | clk-stm32-core.c | 7417cda6aeaf6abf48dfbe22dc965b626f61c613 Tue Apr 05 13:16:28 UTC 2022 Yann Gautier <yann.gautier@foss.st.com> fix(st-clock): correct stm32_clk_parse_fdt_by_name
The fdt_getprop() function sets the length to -1 if the property is not found. We should then not use it later in stm32_clk_parse_fdt_by_name() in that case. Directly set *nb to 0U and return 0 if the property is not found.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I19c5c953f392cdc768e0b1f3f240fc99a73a049c
|