From: Dmitry Guzman <[email protected]>

The address of register `RX_DIAG_NQST_CTRL` is defined as 0x01E5.
According to the datasheet, the correct address is 0x01E6.

Fix the register address value by replacing `0x01E5` with `0x01E6`.

Fixes: 6bcf3cb30037 ("phy: cadence-torrent: Add support for PHY multilink 
configuration")
Cc: [email protected]
Signed-off-by: Dmitry Guzman <[email protected]>
[Benjamin: Commit message reformulated]
Signed-off-by: Benjamin Robin <[email protected]>
---
 drivers/phy/cadence/phy-cadence-torrent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/cadence/phy-cadence-torrent.c 
b/drivers/phy/cadence/phy-cadence-torrent.c
index 42d60102c0f8..9b3ae73c4d78 100644
--- a/drivers/phy/cadence/phy-cadence-torrent.c
+++ b/drivers/phy/cadence/phy-cadence-torrent.c
@@ -217,7 +217,7 @@
 #define RX_DIAG_DFE_AMP_TUNE_2         0x01E2U
 #define RX_DIAG_DFE_AMP_TUNE_3         0x01E3U
 #define RX_DIAG_REE_DAC_CTRL           0x01E4U
-#define RX_DIAG_NQST_CTRL              0x01E5U
+#define RX_DIAG_NQST_CTRL              0x01E6U
 #define RX_DIAG_SIGDET_TUNE            0x01E8U
 #define RX_DIAG_PI_RATE                        0x01F4U
 #define RX_DIAG_PI_CAP                 0x01F5U

-- 
2.56.1

Reply via email to