Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Sebastian Andrzej Siewior and committed by
Thomas Gleixner
29d4ff55 03843d95

+1 -12
+1 -12
drivers/bus/fsl-mc/dprc-driver.c
··· 381 381 EXPORT_SYMBOL_GPL(dprc_scan_container); 382 382 383 383 /** 384 - * dprc_irq0_handler - Regular ISR for DPRC interrupt 0 385 - * 386 - * @irq_num: IRQ number of the interrupt being handled 387 - * @arg: Pointer to device structure 388 - */ 389 - static irqreturn_t dprc_irq0_handler(int irq_num, void *arg) 390 - { 391 - return IRQ_WAKE_THREAD; 392 - } 393 - 394 - /** 395 384 * dprc_irq0_handler_thread - Handler thread function for DPRC interrupt 0 396 385 * 397 386 * @irq_num: IRQ number of the interrupt being handled ··· 516 527 */ 517 528 error = devm_request_threaded_irq(&mc_dev->dev, 518 529 irq->virq, 519 - dprc_irq0_handler, 530 + NULL, 520 531 dprc_irq0_handler_thread, 521 532 IRQF_NO_SUSPEND | IRQF_ONESHOT, 522 533 dev_name(&mc_dev->dev),