]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: do not select the internal source clock
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Mon, 25 Sep 2017 12:59:48 +0000 (14:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Sep 2017 16:33:51 +0000 (09:33 -0700)
commitc93d669cd7006657262edbc11aea187f7f61907a
treef99c825565445bacd5f15e61f498a14334874241
parent5e734281f3872836c4dacae6c39f94ed9f2e98cb
net: mvpp2: do not select the internal source clock

This patch stops the internal MAC Tx clock from being enabled as the
internal clock isn't used. The definition used for the bit controlling
this behaviour is renamed as well as it was wrongly named (bit 4 of
GMAC_CTRL_2_REG).

Fixes: 31b442fa89dd ("net: mvpp2: initialize the GMAC when using a port")
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c