Skip to content

Commit

Permalink
MIPS: Octeon: Remove forced mappings of USB interrupts.
Browse files Browse the repository at this point in the history
Get rid of unnecessary forced interrupt mappings for
the USB host controller on OCTEON II.

Signed-off-by: Steven J. Hill <[email protected]>
Acked-by: David Daney <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/13824/
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
Steven J. Hill authored and ralfbaechle committed Jul 28, 2016
1 parent 20f06ed commit 71471e2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
12 changes: 0 additions & 12 deletions arch/mips/cavium-octeon/octeon-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1542,10 +1542,6 @@ static int __init octeon_irq_init_ciu(
goto err;
}

r = octeon_irq_force_ciu_mapping(ciu_domain, OCTEON_IRQ_USB0, 0, 56);
if (r)
goto err;

r = octeon_irq_force_ciu_mapping(ciu_domain, OCTEON_IRQ_TWSI2, 0, 59);
if (r)
goto err;
Expand All @@ -1559,10 +1555,6 @@ static int __init octeon_irq_init_ciu(
goto err;
}

r = octeon_irq_force_ciu_mapping(ciu_domain, OCTEON_IRQ_USB1, 1, 17);
if (r)
goto err;

/* Enable the CIU lines */
set_c0_status(STATUSF_IP3 | STATUSF_IP2);
if (octeon_irq_use_ip4)
Expand Down Expand Up @@ -2077,10 +2069,6 @@ static int __init octeon_irq_init_ciu2(
goto err;
}

r = octeon_irq_force_ciu_mapping(ciu_domain, OCTEON_IRQ_USB0, 3, 44);
if (r)
goto err;

for (i = 0; i < 4; i++) {
r = octeon_irq_force_ciu_mapping(
ciu_domain, i + OCTEON_IRQ_PCI_INT0, 4, i);
Expand Down
2 changes: 0 additions & 2 deletions arch/mips/include/asm/mach-cavium-octeon/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ enum octeon_irq {
OCTEON_IRQ_TIMER1,
OCTEON_IRQ_TIMER2,
OCTEON_IRQ_TIMER3,
OCTEON_IRQ_USB0,
OCTEON_IRQ_USB1,
#ifndef CONFIG_PCI_MSI
OCTEON_IRQ_LAST = 127
#endif
Expand Down

0 comments on commit 71471e2

Please sign in to comment.