net: phy: mscc: add missing shift for media operation mode selection
authorAntoine Tenart <antoine.tenart@bootlin.com>
Wed, 26 Feb 2020 14:40:34 +0000 (15:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 04:51:42 +0000 (20:51 -0800)
commit1ac7b090ec4618a339afa6d25ab4033c57b30a28
tree32d6cb5435c9f4c47d767f8e303fdbc7ecae1106
parent92040c6daaa46027c2d11aab0a5366ab667c5358
net: phy: mscc: add missing shift for media operation mode selection

This patch adds a missing shift for the media operation mode selection.
This does not fix the driver as the current operation mode (copper) has
a value of 0, but this wouldn't work for other modes.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mscc.c