linux/drivers/net/ethernet/qualcomm
Timur Tabi 994c5483e7 net: qcom/emac: grab a reference to the phydev on ACPI systems
Commit 6ffe1c4cd0 ("net: qcom/emac: fix of_node and phydev leaks")
fixed the problem with reference leaks on phydev, but the fix is
device-tree specific.  When the driver unloads, the reference is
dropped only on DT systems.

Instead, it's cleaner if up grab an reference on ACPI systems.
When the driver unloads, we can drop the reference without having
to check whether we're on a DT system.

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-12 15:13:18 -05:00
..
emac net: qcom/emac: grab a reference to the phydev on ACPI systems 2017-01-12 15:13:18 -05:00
Kconfig ethernet: qualcomm: QCOM_EMAC should depend on HAS_DMA and HAS_IOMEM 2016-10-06 21:13:03 -04:00
Makefile net: emac: emac gigabit ethernet controller driver 2016-09-01 23:32:05 -07:00
qca_7k.c
qca_7k.h
qca_debug.c
qca_debug.h
qca_framing.c
qca_framing.h ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
qca_spi.c ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
qca_spi.h