staging: octeon: fix broken phylib usage
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 27 Jan 2019 19:54:50 +0000 (21:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2019 14:31:24 +0000 (15:31 +0100)
commit49230b49c4398765feba809ac27ae09562cbead1
treecdec9e7345900e445238a6b9864da250139c7d74
parentf17b5f06cb92ef2250513a1e154c47b78df07d40
staging: octeon: fix broken phylib usage

Commit 2b3e88ea6528 ("net: phy: improve phy state checking")
added checks for phylib usage, and this triggers with OCTEON ethernet
and results in broken networking.

Fix by replacing phy_start_aneg() with phy_start().

Fixes: 2b3e88ea6528 ("net: phy: improve phy state checking")
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-mdio.c