Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156818
b: refs/heads/master
c: 4789998
h: refs/heads/master
v: v3
  • Loading branch information
Kevin Hilman committed Aug 5, 2009
1 parent 279da60 commit 78e1a88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 10f90ed2d727c0f344d910c02c9726d0481d9b00
refs/heads/master: 4789998a30d845d94a7595076d1392ffd5a9d39e
7 changes: 3 additions & 4 deletions trunk/arch/arm/mach-omap2/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,10 +496,6 @@ void __init omap_serial_init(void)

if (info == NULL)
return;
if (cpu_is_omap44xx()) {
for (i = 0; i < OMAP_MAX_NR_PORTS; i++)
serial_platform_data[i].irq += 32;
}

for (i = 0; i < OMAP_MAX_NR_PORTS; i++) {
struct plat_serial8250_port *p = serial_platform_data + i;
Expand Down Expand Up @@ -533,6 +529,9 @@ void __init omap_serial_init(void)
uart->p = p;
list_add(&uart->node, &uart_list);

if (cpu_is_omap44xx())
p->irq += 32;

omap_uart_enable_clocks(uart);
omap_uart_reset(uart);
omap_uart_idle_init(uart);
Expand Down

0 comments on commit 78e1a88

Please sign in to comment.