commit | a8715ff2aacfbdf3bd90774c3a4cd1fa6483675d | [log] [tgz] |
---|---|---|
author | Jonas Karlman <jonas@kwiboo.se> | Thu Aug 31 22:16:38 2023 +0000 |
committer | Tom Rini <trini@konsulko.com> | Wed Sep 13 15:52:20 2023 -0400 |
tree | 44900e42486ebe105bb550f6cb9cb4600f7b4af6 | |
parent | 9eec965072e43e049ad68acf6402b55a7f0727ed [diff] |
net: zynq: Use generic_phy_valid() helper The documentation for struct phy state that "The content of the structure is managed solely by the PHY API and PHY drivers". Change to use the generic_phy_valid() helper to check if phy is valid. Fixes: 10c50b1facbf ("net: zynq: Add support for PHY configuration in SGMII mode") Signed-off-by: Jonas Karlman <jonas@kwiboo.se>