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-26 10:46:48 +08:00
2024-10-27 18:44:13 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:04 -06:00
2024-10-24 11:20:58 -06:00
2024-09-16 14:48:13 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-11-03 12:25:57 +01:00
2024-10-29 12:09:18 -06:00
2024-10-27 18:44:13 -06:00
2024-10-21 17:52:52 -06:00
2024-10-25 09:07:16 -03:00
2024-05-20 13:35:03 -06:00
2024-10-24 09:42:00 +02:00
2024-10-17 18:21:19 -06:00
2024-05-20 13:35:03 -06:00
2024-10-16 11:11:56 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-05-24 13:42:07 -06:00
2024-10-29 16:17:47 -06:00
2024-05-20 13:35:03 -06:00
2024-10-25 09:07:39 -03:00
2024-10-11 11:44:48 -06:00
2024-09-06 10:47:47 +02:00
2024-10-23 06:52:38 +02:00
2024-10-11 11:44:48 -06:00
2024-10-29 18:45:22 -06:00
2024-10-27 18:44:13 -06:00
2024-10-28 16:27:34 +01:00
2024-10-31 13:34:29 -06:00
2024-10-11 12:23:25 -06:00
2024-10-29 16:25:53 -03:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-10-27 18:44:13 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 12:23:25 -06:00
2024-10-29 16:17:47 -06:00
2024-10-25 09:07:35 -03:00
2024-09-11 17:02:36 -03:00
2023-11-07 14:50:51 -05:00
2024-10-11 12:23:25 -06:00
2024-05-20 13:35:03 -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
2024-10-11 12:23:25 -06:00
2024-11-01 13:34:32 -06:00
2024-10-27 18:44:13 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-09-06 10:47:46 +02:00
2024-07-22 10:53:06 -06:00
2024-10-31 10:49:47 -06:00
2024-07-05 12:07:37 +02:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-04-26 08:28:35 +03:00
2024-07-22 10:53:06 -06:00
2024-10-18 14:10:21 -06:00
2024-10-11 11:44:48 -06:00
2024-10-14 08:56:03 +02:00
2024-10-27 18:44:13 -06:00
2024-10-22 20:56:28 +02:00
2024-10-18 14:10:21 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-23 07:02:25 +02:00
2024-05-20 13:35:03 -06:00
2023-10-15 12:23:48 +02:00
2024-10-11 11:44:48 -06:00