Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4082
b: refs/heads/master
c: 75f631d
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks authored and Russell King committed Jul 3, 2005
1 parent aad47a1 commit ab78f06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: e9dea0c65d2de6981356c055781fb99d7191b14e
refs/heads/master: 75f631dc45c7327df26b82b9aea69376a306409c
5 changes: 0 additions & 5 deletions trunk/drivers/serial/s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,14 +522,11 @@ static void s3c24xx_serial_shutdown(struct uart_port *port)
static int s3c24xx_serial_startup(struct uart_port *port)
{
struct s3c24xx_uart_port *ourport = to_ourport(port);
unsigned long flags;
int ret;

dbg("s3c24xx_serial_startup: port=%p (%08lx,%p)\n",
port->mapbase, port->membase);

local_irq_save(flags);

rx_enabled(port) = 1;

ret = request_irq(RX_IRQ(port),
Expand Down Expand Up @@ -563,12 +560,10 @@ static int s3c24xx_serial_startup(struct uart_port *port)
/* the port reset code should have done the correct
* register setup for the port controls */

local_irq_restore(flags);
return ret;

err:
s3c24xx_serial_shutdown(port);
local_irq_restore(flags);
return ret;
}

Expand Down

0 comments on commit ab78f06

Please sign in to comment.