Request resources if not autoconfiguring new ports
Hi,
Serial core doesn't request resources when adding new ports if the port isn't to be autoconfigured (UPF_BOOT_AUTOCONF is not set). This also means the UPF_IOREMAP flag doesn't work.
drivers/serial/serial_core.c +2 -1
@@ -2007,7 +2007,8 @@if (port->flags &UPF_BOOT_AUTOCONF ) { port->type =PORT_UNKNOWN ; port->ops->config_port (port, flags); - } + }else + port->ops->request_port (port);if (port->type !=PORT_UNKNOWN ) {unsigned long flags;
David Vrabel
Signature · 4 lines
David Vrabel, Design Engineer Arcom, Clifton Road Tel: +44 (0)1223 411200 ext. 3233 Cambridge CB1 7EA, UK Web: http://www.arcom.com/