]> git.baikalelectronics.ru Git - kernel.git/commit
net: lan966x: Make sure to release ptp interrupt
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Wed, 13 Apr 2022 19:57:16 +0000 (21:57 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Apr 2022 21:29:38 +0000 (14:29 -0700)
commit2900c0732a7054949fc5913d027ffe3e26b3562a
tree5c8f8fc5e37a520cd54fd79a82372f583125b668
parent4acf5be1fcb8488167c0df2c3efa0720140a178f
net: lan966x: Make sure to release ptp interrupt

When the lan966x driver is removed make sure to remove also the ptp_irq
IRQ.

Fixes: aa8457a4c2a66a ("net: lan966x: Add support for ptp interrupts")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Link: https://lore.kernel.org/r/20220413195716.3796467-1-horatiu.vultur@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/lan966x/lan966x_main.c