]> git.dujemihanovic.xyz Git - linux.git/commit
net: phy: nxp-c45-tja11xx: fix MII_BASIC_CONFIG_REV bit
authorRadu Pirea (OSS) <radu-nicolae.pirea@oss.nxp.com>
Thu, 9 Mar 2023 10:01:11 +0000 (12:01 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 11 Mar 2023 05:23:21 +0000 (21:23 -0800)
commit8ba572052a4b8fe5b205854d27e54e3486049b71
tree3af3fd140e030d3e07aa8c04380110ad5f4d0dfe
parent27c30b9b449aaee3b85006b63e08b33016cf7333
net: phy: nxp-c45-tja11xx: fix MII_BASIC_CONFIG_REV bit

According to the TJA1103 user manual, the bit for the reversed role in MII
or RMII modes is bit 4.

Cc: <stable@vger.kernel.org> # 5.15+
Fixes: b050f2f15e04 ("phy: nxp-c45: add driver for tja1103")
Signed-off-by: Radu Pirea (OSS) <radu-nicolae.pirea@oss.nxp.com>
Link: https://lore.kernel.org/r/20230309100111.1246214-1-radu-nicolae.pirea@oss.nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/nxp-c45-tja11xx.c