summaryrefslogtreecommitdiff
path: root/drivers/gpio/imx_rgpio2p.c
diff options
context:
space:
mode:
authorJacky Chou <jacky_chou@aspeedtech.com>2024-01-15 18:34:47 +0800
committerTom Rini <trini@konsulko.com>2024-03-26 19:58:26 -0400
commitf146c446e51184a33deb798e8169aaf654c044a6 (patch)
tree890a73363a9cf69b7a3c3db0c9d65567c642d8c0 /drivers/gpio/imx_rgpio2p.c
parentf5dbfc82a90b2333bfee76906df883ba86a85f56 (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>
Diffstat (limited to 'drivers/gpio/imx_rgpio2p.c')
0 files changed, 0 insertions, 0 deletions