Skip to content

Commit e68664c

Browse files
Jiri Slaby (SUSE)KAGA-KOKO
authored andcommitted
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) <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent 30b6692 commit e68664c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/ipu-v3/ipu-common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ int ipu_map_irq(struct ipu_soc *ipu, int irq)
10081008
{
10091009
int virq;
10101010

1011-
virq = irq_linear_revmap(ipu->domain, irq);
1011+
virq = irq_find_mapping(ipu->domain, irq);
10121012
if (!virq)
10131013
virq = irq_create_mapping(ipu->domain, irq);
10141014

@@ -1219,7 +1219,7 @@ static void ipu_irq_exit(struct ipu_soc *ipu)
12191219
/* TODO: remove irq_domain_generic_chips */
12201220

12211221
for (i = 0; i < IPU_NUM_IRQS; i++) {
1222-
irq = irq_linear_revmap(ipu->domain, i);
1222+
irq = irq_find_mapping(ipu->domain, i);
12231223
if (irq)
12241224
irq_dispose_mapping(irq);
12251225
}

0 commit comments

Comments
 (0)