net: dsa: microchip: remove IRQF_TRIGGER_FALLING in request_threaded_irq
authorArun Ramadoss <arun.ramadoss@microchip.com>
Tue, 13 Dec 2022 10:14:40 +0000 (15:44 +0530)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Dec 2022 01:18:48 +0000 (17:18 -0800)
commit62e027fb0e5293d95e8d36655757ef4687c8795d
treeb6b26709a016d183969022bb5df34ca070db460e
parent2856a62762c8409e360d4fd452194c8e57ba1058
net: dsa: microchip: remove IRQF_TRIGGER_FALLING in request_threaded_irq

KSZ swithes used interrupts for detecting the phy link up and down.
During registering the interrupt handler, it used IRQF_TRIGGER_FALLING
flag. But this flag has to be retrieved from device tree instead of hard
coding in the driver, so removing the flag.

Fixes: ff319a644829 ("net: dsa: microchip: move interrupt handling logic from lan937x to ksz_common")
Reported-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Link: https://lore.kernel.org/r/20221213101440.24667-1-arun.ramadoss@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/microchip/ksz_common.c