diff options
author | 2022-09-22 12:40:24 +0530 | |
---|---|---|
committer | 2022-09-26 12:41:05 -0700 | |
commit | abc1cb8cbd7376a2f856e64986ee5ce0849d974b (patch) | |
tree | 9ad63d14d2d9c6b3e552f12d24bd4921c8a3e3ee /drivers/net/dsa/microchip/ksz_common.c | |
parent | net: dsa: microchip: determine number of port irq based on switch type (diff) | |
download | linux-dev-abc1cb8cbd7376a2f856e64986ee5ce0849d974b.tar.xz linux-dev-abc1cb8cbd7376a2f856e64986ee5ce0849d974b.zip |
net: dsa: microchip: enable phy interrupts only if interrupt enabled in dts
In the lan937x_mdio_register function, phy interrupts are enabled
irrespective of irq is enabled in the switch. Now, the check is added to
enable the phy interrupt only if the irq is enabled in the switch.
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions