commit | 77cbf0e7d38378f4c36af5ff7f1c71bb4959a11e | [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 | 4238837a11bc225c017757e9f085eebc771640b2 [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>