Files
u-boot/test
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-08-08 10:22:03 -04:00
2023-08-31 13:16:54 -04:00
2023-08-25 13:54:33 -04:00
2023-08-22 15:17:52 -04:00
2023-04-25 15:31:27 -04:00
2022-08-10 13:38:30 -04:00
2023-04-03 06:53:53 +12:00