mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-15 02:42:51 -05:00
bus: fsl-mc: Use default primary handler
There is no added value in dprc_irq0_handler() compared to irq_default_primary_handler(). Use the default primary interrupt handler by specifying NULL. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com> Link: https://patch.msgid.link/20260128095540.863589-6-bigeasy@linutronix.de
This commit is contained in:
committed by
Thomas Gleixner
parent
03843d95a4
commit
29d4ff55fe
@@ -380,17 +380,6 @@ int dprc_scan_container(struct fsl_mc_device *mc_bus_dev,
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(dprc_scan_container);
|
||||
|
||||
/**
|
||||
* dprc_irq0_handler - Regular ISR for DPRC interrupt 0
|
||||
*
|
||||
* @irq_num: IRQ number of the interrupt being handled
|
||||
* @arg: Pointer to device structure
|
||||
*/
|
||||
static irqreturn_t dprc_irq0_handler(int irq_num, void *arg)
|
||||
{
|
||||
return IRQ_WAKE_THREAD;
|
||||
}
|
||||
|
||||
/**
|
||||
* dprc_irq0_handler_thread - Handler thread function for DPRC interrupt 0
|
||||
*
|
||||
@@ -527,7 +516,7 @@ static int register_dprc_irq_handler(struct fsl_mc_device *mc_dev)
|
||||
*/
|
||||
error = devm_request_threaded_irq(&mc_dev->dev,
|
||||
irq->virq,
|
||||
dprc_irq0_handler,
|
||||
NULL,
|
||||
dprc_irq0_handler_thread,
|
||||
IRQF_NO_SUSPEND | IRQF_ONESHOT,
|
||||
dev_name(&mc_dev->dev),
|
||||
|
||||
Reference in New Issue
Block a user