mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge master.kernel.org:/home/rmk/linux-2.6-arm
This commit is contained in:
commit
19f7241a3b
74 changed files with 609 additions and 491 deletions
|
|
@ -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),
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue