Johan Hovold 6bed011801 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>
2016-11-07 13:17:30 -05:00
..
2016-08-06 09:20:13 -04:00
2016-08-15 11:57:55 -07:00
2016-09-19 01:25:22 -04:00
2016-11-07 13:17:29 -05:00
2016-08-31 14:33:09 -07:00
2016-10-30 20:56:13 -04:00
2016-09-20 22:55:23 -04:00
2016-08-30 22:27:18 -07:00
2016-10-29 20:56:31 -04:00