Commit 75416a98 authored by Russell King's avatar Russell King

[SERIAL] Remove old RSA resource handlign.

The resource handling left in autoconfig() is plainly wrong, since
we've already claimed the necessary resources prior to calling
autoconfig().  Therefore, we remove the superfluous code from
autoconfig().
parent e3483eaf
...@@ -726,13 +726,6 @@ static void autoconfig(struct uart_8250_port *up, unsigned int probeflags) ...@@ -726,13 +726,6 @@ static void autoconfig(struct uart_8250_port *up, unsigned int probeflags)
out: out:
spin_unlock_irqrestore(&up->port.lock, flags); spin_unlock_irqrestore(&up->port.lock, flags);
// restore_flags(flags); // restore_flags(flags);
#ifdef CONFIG_SERIAL_8250_RSA
if (up->port.iobase && up->port.type == PORT_RSA) {
release_region(up->port.iobase, 8);
request_region(up->port.iobase + UART_RSA_BASE, 16,
"serial_rsa");
}
#endif
DEBUG_AUTOCONF("type=%s\n", uart_config[up->port.type].name); DEBUG_AUTOCONF("type=%s\n", uart_config[up->port.type].name);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment