aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/can/m_can/m_can_pci.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-12-18 17:51:38 -0800
committerJakub Kicinski <kuba@kernel.org>2024-12-18 17:51:39 -0800
commitdbfca1641e697fa088a1cd7e305b47db1dfd3567 (patch)
tree75e7b8a4fd9a673e824696ee95adedc326e9e090 /drivers/net/can/m_can/m_can_pci.c
parent5c964c8a97c12145104f5d2782aa1ffccf3a93dd (diff)
parent87f54c12195150fec052f6a5458fcecdda5ec62f (diff)
downloadlinux-dbfca1641e697fa088a1cd7e305b47db1dfd3567.tar.gz
linux-dbfca1641e697fa088a1cd7e305b47db1dfd3567.tar.bz2
linux-dbfca1641e697fa088a1cd7e305b47db1dfd3567.zip
Merge tag 'linux-can-fixes-for-6.13-20241218' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can
Marc Kleine-Budde says: ==================== pull-request: can 2024-12-18 There are 2 patches by Matthias Schiffer for the m_can_pci driver that handles the m_can cores found on the Intel Elkhart Lake processor. They fix the initialization and the interrupt handling under high CAN bus load. * tag 'linux-can-fixes-for-6.13-20241218' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can: can: m_can: fix missed interrupts with m_can_pci can: m_can: set init flag earlier in probe ==================== Link: https://patch.msgid.link/20241218121722.2311963-1-mkl@pengutronix.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/can/m_can/m_can_pci.c')
-rw-r--r--drivers/net/can/m_can/m_can_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/m_can/m_can_pci.c b/drivers/net/can/m_can/m_can_pci.c
index d72fe771dfc7..9ad7419f88f8 100644
--- a/drivers/net/can/m_can/m_can_pci.c
+++ b/drivers/net/can/m_can/m_can_pci.c
@@ -127,6 +127,7 @@ static int m_can_pci_probe(struct pci_dev *pci, const struct pci_device_id *id)
mcan_class->pm_clock_support = 1;
mcan_class->pm_wake_source = 0;
mcan_class->can.clock.freq = id->driver_data;
+ mcan_class->irq_edge_triggered = true;
mcan_class->ops = &m_can_pci_ops;
pci_set_drvdata(pci, mcan_class);