forked from Minki/linux
b7d3e3d3d2
It is possible, although unlikely, that probing will find the phy_device for the first LMAC of a thunder BGX device, but then need to fail with -EPROBE_DEFER on a subsequent LMAC. In this case, we need to call put_device() on each of the phy_devices that were obtained, but will be unused due to returning -EPROBE_DEFER. Also, since we can break out of the probing loop early, we need to explicitly call of_node_put() outside of the loop. Signed-off-by: David Daney <david.daney@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Makefile | ||
nic_main.c | ||
nic_reg.h | ||
nic.h | ||
nicvf_ethtool.c | ||
nicvf_main.c | ||
nicvf_queues.c | ||
nicvf_queues.h | ||
q_struct.h | ||
thunder_bgx.c | ||
thunder_bgx.h |