]> 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)
commitdd269a90f1ee1000e69b472b19cfd98167f47546
treef99c825565445bacd5f15e61f498a14334874241
parent3e5cddca8e91d729a7c8669ec7341ffebb766ff6
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: c48b5020e1ea ("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