Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19735
b: refs/heads/master
c: 9c0f475
h: refs/heads/master
i:
  19733: ba87fc4
  19731: 33a6f70
  19727: 34cda7f
v: v3
  • Loading branch information
Atsushi Nemoto authored and Russell King committed Feb 2, 2006
1 parent fd637fa commit a4f3f99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 3ec9c59449744dcc390d593a017d30671546fd9e
refs/heads/master: 9c0f4755bd5a117595761c95b93c29e8d9ca07b5
2 changes: 1 addition & 1 deletion trunk/drivers/serial/serial_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2237,7 +2237,7 @@ int uart_add_one_port(struct uart_driver *drv, struct uart_port *port)
* If this port is a console, then the spinlock is already
* initialised.
*/
if (!uart_console(port))
if (!(uart_console(port) && (port->cons->flags & CON_ENABLED)))
spin_lock_init(&port->lock);

uart_configure_port(drv, state, port);
Expand Down

0 comments on commit a4f3f99

Please sign in to comment.