2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 23:53:55 +08:00
linux-next/drivers/net/ethernet/xilinx
Russell King 04d53b20fe net: fix phy refcounting in a bunch of drivers
of_phy_find_device() increments the phy struct device refcount, which
we need to properly balance.  Add code to network drivers using this
function to ensure that the struct device refcount is correctly
balanced.

For xgene, looking back in the history, we should be able to use
of_phy_connect() with a zero flags argument for the DT case as this is
how the driver used to operate prior to de7b5b3d79 ("net: eth: xgene:
change APM X-Gene SoC platform ethernet to support ACPI").

This leaves the Cavium Thunder BGX unfixed; fixing this driver is a
complicated task, one which the maintainers need to be involved with.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-24 23:04:53 -07:00
..
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
ll_temac_main.c net: ll_temac: Remove sparse warnings 2015-06-07 15:20:42 -07:00
ll_temac_mdio.c
ll_temac.h
Makefile drivers/net/ethernet/xilinx: added Xilinx AXI Ethernet driver 2012-01-25 16:59:47 -05:00
xilinx_axienet_main.c net: axienet: Fix devm_ioremap_resource return value check 2015-07-09 21:43:16 -07:00
xilinx_axienet_mdio.c net: axienet: Fix kernel-doc warnings 2015-05-05 19:34:01 -04:00
xilinx_axienet.h net: axienet: Fix kernel-doc warnings 2015-05-05 19:34:01 -04:00
xilinx_emaclite.c net: fix phy refcounting in a bunch of drivers 2015-09-24 23:04:53 -07:00