]> git.baikalelectronics.ru Git - kernel.git/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)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Mar 2022 20:24:40 +0000 (12:24 -0800)
commit472bcca9ded070492c70c7e74479b14293865675
tree0bc13c00fa3aa4bb1f7fc5284696b506d0083d37
parente69fa7393baac46ebe486bf0cabb3cf27f5e3d81
net: phy: DP83822: clear MISR2 register to disable interrupts

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: 60ce3f0822f5 ("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>
drivers/net/phy/dp83822.c