commit | f146c446e51184a33deb798e8169aaf654c044a6 | [log] [tgz] |
---|---|---|
author | Jacky Chou <jacky_chou@aspeedtech.com> | Mon Jan 15 18:34:47 2024 +0800 |
committer | Tom Rini <trini@konsulko.com> | Tue Mar 26 19:58:26 2024 -0400 |
tree | 890a73363a9cf69b7a3c3db0c9d65567c642d8c0 | |
parent | f5dbfc82a90b2333bfee76906df883ba86a85f56 [diff] |
net: phy: the NC-SI phy device do not require mdio bus As with fixed-link phy device, the NC-SI phy devive does not require an mdio bus. So, a condition is added to check the NC-SI phy id to avoid accessing the bus pointer that is NULL. Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>