]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: dra7xx: Fix threaded IRQ request for "dra7xx-pcie-main" IRQ
authorSiddharth Vadapalli <s-vadapalli@ti.com>
Tue, 27 Aug 2024 12:24:21 +0000 (17:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:44 +0000 (16:29 +0200)
commitb91d041e0756590fe5cdd9b2ec81f34ae5c024fc
tree5720656db19c9b712d2045f001766ae192c24ff8
parent894f21117f638f9afc6021c383c751dc96b6e138
PCI: dra7xx: Fix threaded IRQ request for "dra7xx-pcie-main" IRQ

commit 03f84b3baba7836bdfc162c19288d5ce1aa92890 upstream.

Commit da87d35a6e51 ("PCI: dra7xx: Use threaded IRQ handler for
"dra7xx-pcie-main" IRQ") switched from devm_request_irq() to
devm_request_threaded_irq() for the "dra7xx-pcie-main" interrupt.

Since the primary handler was set to NULL, the "IRQF_ONESHOT" flag
should have also been set. Fix this.

Fixes: da87d35a6e51 ("PCI: dra7xx: Use threaded IRQ handler for "dra7xx-pcie-main" IRQ")
Suggested-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/linux-pci/20240827122422.985547-2-s-vadapalli@ti.com
Reported-by: Udit Kumar <u-kumar1@ti.com>
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/controller/dwc/pci-dra7xx.c