Searched hist:ea6b44f4d2c3799d4aab78d3e66b2512eff3ffa8 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/drivers/scmi-msg/ |
| H A D | clock_generic.c | ea6b44f4d2c3799d4aab78d3e66b2512eff3ffa8 Mon Dec 09 02:53:59 UTC 2024 Tony Han <tony.han@microchip.com> drivers: scmi-msg: fix clock min/max/step triplet description support
The return value of plat_scmi_clock_rates_array() is one of "SCMI_DENIED", "SCMI_GENERIC_ERROR" and "SCMI_SUCCESS". The code in scmi_clock_describe_rates() for clock min/max/step triplet description support would never be executed due to the return value of plat_scmi_clock_rates_array() could never be "SCMI_NOT_SUPPORTED". Fix by modifying the return value of plat_scmi_clock_rates_array().
Signed-off-by: Tony Han <tony.han@microchip.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
|