mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
net: stmmac: dwmac-spacemit: Fix wrong irq definition
The current irq definition of the wake irq and the lpi irq
is wrong, replace them with the right number and name.
Fixes: 30f0ba420e ("net: stmmac: Add glue layer for Spacemit K3 SoC")
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20260623074637.503864-3-inochiama@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
d1e3a4c3b2
commit
bf5cd5d4ca
|
|
@ -22,8 +22,8 @@
|
|||
#define CTRL_PHY_INTF_RMII FIELD_PREP(CTRL_PHY_INTF_MODE, 0)
|
||||
#define CTRL_PHY_INTF_RGMII FIELD_PREP(CTRL_PHY_INTF_MODE, 1)
|
||||
#define CTRL_PHY_INTF_MII FIELD_PREP(CTRL_PHY_INTF_MODE, 3)
|
||||
#define CTRL_WAKE_IRQ_EN BIT(9)
|
||||
#define CTRL_PHY_IRQ_EN BIT(12)
|
||||
#define CTRL_LPI_IRQ_EN BIT(9)
|
||||
#define CTRL_WAKE_IRQ_EN BIT(12)
|
||||
|
||||
/* dline register bits */
|
||||
#define RGMII_RX_DLINE_EN BIT(0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user