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)
commitc7dfc8c848a48f176096f66a14879fb3333a460f
treef99c825565445bacd5f15e61f498a14334874241
parent6bf69a1d6334bed776875c5ca852594ab4e5b209
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: 3919357fb0bb ("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