]> git.itanic.dy.fi Git - linux-stable/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:31:36 +0000 (13:31 +0100)
commitb3d042638049f2381dd461eb71d317883ecac741
tree2dd429e7b2f37badff347abeb8fd471215dc74b9
parentf3de49782612286a6fd95615eaa9faee02a94b52
net: phy: nxp-c45-tja11xx: fix MII_BASIC_CONFIG_REV bit

commit 8ba572052a4b8fe5b205854d27e54e3486049b71 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/phy/nxp-c45-tja11xx.c