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

gpu: ipu-v3: Switch to irq_find_mapping()

irq_linear_revmap() is deprecated, so remove all its uses and supersede
them by an identical call to irq_find_mapping().

[ tglx: Fix up subject prefix ]

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250319092951.37667-45-jirislaby@kernel.org



authored by

Jiri Slaby (SUSE) and committed by
Thomas Gleixner
e68664c0 30b6692c

+2 -2
+2 -2
drivers/gpu/ipu-v3/ipu-common.c
··· 1008 1008 { 1009 1009 int virq; 1010 1010 1011 - virq = irq_linear_revmap(ipu->domain, irq); 1011 + virq = irq_find_mapping(ipu->domain, irq); 1012 1012 if (!virq) 1013 1013 virq = irq_create_mapping(ipu->domain, irq); 1014 1014 ··· 1219 1219 /* TODO: remove irq_domain_generic_chips */ 1220 1220 1221 1221 for (i = 0; i < IPU_NUM_IRQS; i++) { 1222 - irq = irq_linear_revmap(ipu->domain, i); 1222 + irq = irq_find_mapping(ipu->domain, i); 1223 1223 if (irq) 1224 1224 irq_dispose_mapping(irq); 1225 1225 }