We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61ddf5f commit 695d702Copy full SHA for 695d702
drivers/soc/fsl/qe/qe_ic.c
@@ -455,13 +455,11 @@ static int qe_ic_init(struct platform_device *pdev)
455
456
qe_ic_write(qe_ic->regs, QEIC_CICR, 0);
457
458
- irq_set_handler_data(qe_ic->virq_low, qe_ic);
459
- irq_set_chained_handler(qe_ic->virq_low, low_handler);
+ irq_set_chained_handler_and_data(qe_ic->virq_low, low_handler, qe_ic);
460
461
- if (high_handler) {
462
- irq_set_handler_data(qe_ic->virq_high, qe_ic);
463
- irq_set_chained_handler(qe_ic->virq_high, high_handler);
464
- }
+ if (high_handler)
+ irq_set_chained_handler_and_data(qe_ic->virq_high,
+ high_handler, qe_ic);
465
return 0;
466
}
467
static const struct of_device_id qe_ic_ids[] = {
0 commit comments