On Sun, 25 Oct 2026 10:31:20 +0100, Ahmad Fatoum wrote:
> A mux with a value table returns -EINVAL from get_parent when the
> register holds a value missing from the table. clk_get_parent() only
> rejected indices >= num_parents, so -EINVAL went on to index the
> parents array as u8 234 and clk_dump crashed on the Amlogic G12 clock
> controller.
> 
> Let's return -ENODEV for negative indices as well.
> 
> [...]

Applied, thanks!

[1/1] clk: handle get_parent callbacks returning an error
      https://git.pengutronix.de/cgit/barebox/commit/?id=22f58f5dea50 (link may 
not be stable)

Best regards,
-- 
Sascha Hauer <[email protected]>


Reply via email to