net: phy: LAN937x: add interrupt support for link detection
authorArun Ramadoss <arun.ramadoss@microchip.com>
Sat, 23 Apr 2022 15:47:27 +0000 (21:17 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 26 Apr 2022 08:08:59 +0000 (10:08 +0200)
commitfb0a43f5bd454dfae94aeb293b32669c6ef83b37
tree9834da4c2ab714a796f2f0f0b515374958e6ea9f
parentcc271ab86606c963e97915d84be34ae4bd067578
net: phy: LAN937x: add interrupt support for link detection

Added the config_intr and handle_interrupt for the LAN937x phy which is
same as the LAN87xx phy.

Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220423154727.29052-1-arun.ramadoss@microchip.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/microchip_t1.c