
12 Jul
2023
12 Jul
'23
1:59 a.m.
On 7/12/23 01:48, Jonas Karlman wrote:
generic_setup_phy may mask a power on failure due to the return value from generic_phy_exit, typically 0, is being used as return value.
Fix this by ignoring the return value of the generic_phy_exit call, also remove an unnecessary check for -ENOENT.
Why is it unnecessary ? If I recall it right, the ENOENT check is to not fail if the PHY is not present in DT, which may not be a failure.
[...]