Home
last modified time | relevance | path

Searched hist:"627 f246d30e8655582f8570961c4bb7cd1fb95da" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/drivers/clk/
H A Dclk_dt.c627f246d30e8655582f8570961c4bb7cd1fb95da Wed Mar 30 14:09:54 UTC 2022 Clément Léger <clement.leger@bootlin.com> drivers: clk: Fix check for assigned-clock-rates index

Index should actually be strictly less than rate_len. Fix this which
might happen with the following description:

assigned-clock = <foo>, <bar>;
assigned-clock-parents = <foo_parent>, <bar_parent>;
assigned-clock-rates = <1000>;

Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Clément Léger <clement.leger@bootlin.com>