net: r6040: Use logical or for MDIO operations
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 23 May 2021 15:54:10 +0000 (08:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2021 00:20:53 +0000 (17:20 -0700)
commit190e6e291a4c5b9602817cffeacfd577f805e563
tree1c66c7601e8faa72413dd31b64ee42e113344db6
parent0056982f093d6d5f12c43855754a0933b654778d
net: r6040: Use logical or for MDIO operations

This is not a functional change, but we should be using a logical or to
assign the bits we will be writing to the MDIO read and write registers.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rdc/r6040.c