Files
u-boot/drivers
Jonas Karlman bd78f2c2c2 phy: Fix generic_setup_phy() return value on power on failure
generic_phy_exit() typically return 0 for a struct phy that has been
initialized with a generic_phy_init() call.

generic_setup_phy() returns the value from a generic_phy_exit() call
when generic_phy_power_on() fails. This hides the failed state of the
power_on ops from the caller of generic_setup_phy().

Fix this by ignoring the return value of the generic_phy_exit() call and
return the value from the generic_phy_power_on() call.

Fixes: 84e561407a ("phy: Add generic_{setup,shutdown}_phy() helpers")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
2023-09-13 15:52:21 -04:00
..
2023-09-04 10:51:58 -04:00
2023-05-02 14:23:58 -04:00
2023-08-17 12:29:21 -04:00
2023-07-21 09:00:39 +02:00
2023-08-21 17:32:17 -04:00
2023-08-21 17:32:17 -04:00
2023-04-21 15:16:01 +08:00
2023-08-03 09:40:49 -04:00
2023-04-25 15:31:28 -04:00