]> git.baikalelectronics.ru Git - kernel.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:34:04 +0000 (13:34 +0100)
commitd8ac524246543bac4d6de9ce928f5a7e86c4f641
treeef8712a5c58a54f7bbc8c0daae3548d17def5f8a
parent5d463ae00d811a01a521f99ff90f4a35d3a11a7f
net: phy: nxp-c45-tja11xx: fix MII_BASIC_CONFIG_REV bit

commit 5b92af632fe08d243d97fb86df5edf28ea9c7a7e 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: 8a22be2fabb4 ("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