Re: [PATCH] 8250: Don't restore NS16550 mode when console suspendis disabled

From: Alan Cox
Date: Wed May 13 2009 - 04:44:26 EST


> > Surely if my console is at 230Kbits/sec then resuming it at a totally
> > different speed is going to break things for people even if it happens to
> > help XO debug ?
>
> The console is not in high speed mode when we suspend. The original
> commit (b5b82df6) just assumes that if it is a NATSEMI device, we
> should set it to high speed mode at resume w/o checking if that
> was the mode we were in when we suspended.

Then hard coding is no improvement either. It needs to restore the mode
that was present at suspend.

I'll update the 8250 Maintainers entry I suppose, I seem to have been
landed it as part of tty 8)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/