Patch "net: dsa: microchip: remove IRQF_TRIGGER_FALLING in request_threaded_irq" has been added to the 6.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    net: dsa: microchip: remove IRQF_TRIGGER_FALLING in request_threaded_irq

to the 6.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     net-dsa-microchip-remove-irqf_trigger_falling-in-req.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 8e2959a52cc3abd37e2f2e7a3ea8a31d1eccd9ce
Author: Arun Ramadoss <arun.ramadoss@xxxxxxxxxxxxx>
Date:   Tue Dec 13 15:44:40 2022 +0530

    net: dsa: microchip: remove IRQF_TRIGGER_FALLING in request_threaded_irq
    
    [ Upstream commit 62e027fb0e5293d95e8d36655757ef4687c8795d ]
    
    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@xxxxxxx>
    Signed-off-by: Arun Ramadoss <arun.ramadoss@xxxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20221213101440.24667-1-arun.ramadoss@xxxxxxxxxxxxx
    Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c
index d612181b3226..c68f48cd1ec0 100644
--- a/drivers/net/dsa/microchip/ksz_common.c
+++ b/drivers/net/dsa/microchip/ksz_common.c
@@ -1883,8 +1883,7 @@ static int ksz_irq_common_setup(struct ksz_device *dev, struct ksz_irq *kirq)
 		irq_create_mapping(kirq->domain, n);
 
 	ret = request_threaded_irq(kirq->irq_num, NULL, ksz_irq_thread_fn,
-				   IRQF_ONESHOT | IRQF_TRIGGER_FALLING,
-				   kirq->name, kirq);
+				   IRQF_ONESHOT, kirq->name, kirq);
 	if (ret)
 		goto out;
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux