diff options
author | Johan Hovold <[email protected]> | 2016-11-03 18:40:21 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-11-07 13:17:30 -0500 |
commit | 6bed0118012ea350acbe606ab3ae0ed3d60ed5f3 (patch) | |
tree | 6ee4dfe1760a53e6ba3a43e60d1954891b1fa478 /scripts/gdb/linux/utils.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 <[email protected]>
Cc: Grygorii Strashko <[email protected]>
Cc: [email protected]
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions