Peng Fan
55e2dbe2ba
dmaengine: fsl-edma: free irq correctly in remove path
[ Upstream commit fa70c4c3c5 ]
Add fsl_edma->txirq/errirq check to avoid below warning because no
errirq at i.MX9 platform. Otherwise there will be kernel dump:
WARNING: CPU: 0 PID: 11 at kernel/irq/devres.c:144 devm_free_irq+0x74/0x80
Modules linked in:
CPU: 0 UID: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.12.0-rc7#18
Hardware name: NXP i.MX93 11X11 EVK board (DT)
Workqueue: events_unbound deferred_probe_work_func
pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : devm_free_irq+0x74/0x80
lr : devm_free_irq+0x48/0x80
Call trace:
devm_free_irq+0x74/0x80 (P)
devm_free_irq+0x48/0x80 (L)
fsl_edma_remove+0xc4/0xc8
platform_remove+0x28/0x44
device_remove+0x4c/0x80
Fixes: 44eb827264 ("dmaengine: fsl-edma: request per-channel IRQ only when channel is allocated")
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20250228071720.3780479-2-peng.fan@oss.nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-04-10 14:39:23 +02:00
..
2025-01-02 10:34:14 +01:00
2025-01-02 10:34:13 +01:00
2024-08-28 18:40:17 +05:30
2024-09-02 13:56:01 +05:30
2025-02-08 09:57:05 +01:00
2024-09-02 13:56:01 +05:30
2024-09-02 13:56:01 +05:30
2024-09-02 13:56:01 +05:30
2024-09-02 13:56:01 +05:30
2024-09-02 13:56:01 +05:30
2024-09-23 14:08:08 -07:00
2024-10-14 23:10:58 +05:30
2024-08-05 22:28:48 +05:30
2025-02-08 09:58:00 +01:00
2024-09-02 13:56:01 +05:30
2024-09-02 13:56:01 +05:30
2024-09-02 13:56:01 +05:30
2024-09-02 13:56:01 +05:30
2025-01-02 10:34:14 +01:00
2024-09-02 13:56:01 +05:30
2025-01-02 10:34:14 +01:00
2024-09-02 13:56:01 +05:30
2024-09-02 13:56:01 +05:30
2024-06-21 15:31:57 +05:30
2024-08-29 22:49:53 +05:30
2024-08-05 22:30:55 +05:30
2024-10-11 09:55:47 +00:00
2024-06-11 23:55:34 +05:30
2025-01-02 10:34:14 +01:00
2025-04-10 14:39:23 +02:00
2024-05-04 18:00:16 +05:30
2024-05-04 18:00:16 +05:30
2024-09-02 13:56:01 +05:30
2024-09-23 14:08:08 -07:00
2024-08-29 22:49:07 +05:30
2024-06-07 23:14:45 +05:30
2024-08-29 22:54:11 +05:30
2024-09-02 13:56:32 +05:30
2024-08-29 22:54:11 +05:30
2025-01-02 10:34:21 +01:00
2024-08-29 22:54:11 +05:30
2024-06-11 23:55:34 +05:30
2024-06-11 23:55:34 +05:30
2024-09-02 13:56:01 +05:30
2025-01-02 10:34:13 +01:00
2024-09-02 13:56:01 +05:30
2024-09-02 13:56:01 +05:30
2024-09-02 13:56:01 +05:30
2024-09-02 13:56:01 +05:30
2024-04-07 18:36:58 +05:30
2024-08-29 07:22:49 +03:00
2024-09-02 13:56:01 +05:30
2024-08-29 07:22:49 +03:00
2024-09-02 13:56:01 +05:30
2024-09-02 13:56:01 +05:30
2025-01-02 10:34:14 +01:00
2024-06-28 13:03:13 +05:30
2024-09-02 13:56:01 +05:30