]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit18b1c9d2b5782d52044d86843b66dd460bc98215
tree32d6cb5435c9f4c47d767f8e303fdbc7ecae1106
parente32ac37b538e1a5b7e41b4c2ccc8b8b2cc09e87c
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