staging: octeon-ethernet: rgmii: poll link status on open
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 17 Oct 2015 19:28:54 +0000 (22:28 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 03:56:10 +0000 (20:56 -0700)
commit064e08350f122dbede94be231e7de9012ae47ec0
tree6c311b9eb52d09dfd28906c942b4c0680c2364ac
parent63f2be5c3b358db031f86eafa9cd450f6558a55b
staging: octeon-ethernet: rgmii: poll link status on open

Get the initial link status already on open instead of postponing
it to the periodic poll task. This unifies the behaviour with
other interfaces types.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-rgmii.c