]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9c193f8e2074e1319845d221f515fcd0aacb33b
tree08d4d6fe2594cd9ab03cd94d4cf9893b417da319
parenta0920254f6680e811b19536f1cbe26b41ae42867
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