1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-25 13:45:20 +01:00
Files
u-boot-megous/drivers
Marek Vasut c78a81396a clk: renesas: Fix missing unbind on driver look up failure
In case lists_driver_lookup_name("rst_gen3") fails, the clk_gen3 driver
has to be unbound before erroring out. Reorder the function such that
both clk_gen3 and rst_gen3 drivers are looked up first, if either look
up fails then the function errors out right away. Second, the clk_gen3
is bound, if binding fails, the function still errors out right away
because there is nothing to undo after either lists_driver_lookup_name()
call. Finally, rst_gen3 is bound and if this binding fails, then that
is the only place where clk_gen3 has to be unbound before erroring out.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2024-11-03 12:25:57 +01:00
..
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-25 09:07:16 -03:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2023-11-07 14:50:51 -05:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-04-26 08:28:35 +03:00
2024-10-18 14:10:21 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00