Re: [PATCH: 2/2] [SERIAL] avoid stalling suspend if serial port won't drain

From: Russell King
Date: Wed Jan 09 2008 - 03:35:45 EST


On Tue, Jan 08, 2008 at 04:06:10PM -0800, Andrew Morton wrote:
> One hopes that doing a printk from within uart_suspend_port() will dtrt if
> that port is (was?) being used as a console.

Well, the preceding code shuts down the console side if the port is a
console - so this printk should never make it back to the UART in that
case.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
--
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/