linux_dsm_epyc7002/drivers/net/ethernet/qualcomm
Johan Hovold 6ffe1c4cd0 net: qcom/emac: fix of_node and phydev leaks
Make sure to drop the reference taken by of_phy_find_device() during
probe on probe errors and on driver unbind.

Also drop the of_node reference taken by of_parse_phandle() in the same
path.

Fixes: b9b17debc6 ("net: emac: emac gigabit ethernet controller driver")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-27 20:01:15 -05:00
..
emac net: qcom/emac: fix of_node and phydev leaks 2016-11-27 20:01:15 -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
qca_spi.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
qca_spi.h