net: stmicro: fix LS field mask in EEE configuration
authorjpinto <Joao.Pinto@synopsys.com>
Fri, 20 Jan 2017 16:00:26 +0000 (16:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jan 2017 21:47:36 +0000 (16:47 -0500)
commitf4ec60644a7f9f8bd9571c30c573ce54c4b0ad97
tree08d4d6fe2594cd9ab03cd94d4cf9893b417da319
parent3704eb6f6fd09023e2c94e8ead687b908ab02135
net: stmicro: fix LS field mask in EEE configuration

This patch fixes the LS mask when setting EEE timer.
LS field is 10 bits long and not 11 as currently.

Signed-off-by: Joao Pinto <jpinto@synopsys.com>
Reported-By: Rayagond Kokatanur <rayagond@vayavyalabs.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c