]> git.itanic.dy.fi Git - linux-stable/commit
net: phy: DP83822: clear MISR2 register to disable interrupts
authorClément Léger <clement.leger@bootlin.com>
Wed, 9 Mar 2022 14:22:28 +0000 (15:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Mar 2022 13:15:59 +0000 (14:15 +0100)
commit3cf533f1200195fcc3bc4d7b4cfc76a8724c506c
tree8263803aa13e1666dab35809bb2d7a7acd171ba6
parent21044e679ed535345042d2023f7df0ca8e897e2a
net: phy: DP83822: clear MISR2 register to disable interrupts

[ Upstream commit 37c9d66c95564c85a001d8a035354f0220a1e1c3 ]

MISR1 was cleared twice but the original author intention was probably
to clear MISR1 & MISR2 to completely disable interrupts. Fix it to
clear MISR2.

Fixes: 87461f7a58ab ("net: phy: DP83822 initial driver submission")
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220309142228.761153-1-clement.leger@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/phy/dp83822.c