diff options
author | Johan Hovold <johan@kernel.org> | 2016-11-03 18:40:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-07 13:17:30 -0500 |
commit | 6bed0118012ea350acbe606ab3ae0ed3d60ed5f3 (patch) | |
tree | 6ee4dfe1760a53e6ba3a43e60d1954891b1fa478 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | c7262aaace1b17a650598063e3b9ee1785fde377 (diff) |
net: ethernet: ti: davinci_emac: fix device reference leak
Make sure to drop the references taken by bus_find_device() before
returning from emac_dev_open().
Note that phy_connect still takes a reference to the phy device.
Fixes: 5d69e0076a72 ("net: davinci_emac: switch to new mdio")
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions