Re: [PATCH] AT91 Serial: update the powersave handler to matchserial core

From: Alan Cox
Date: Fri Sep 19 2008 - 10:55:50 EST


> Maybe the tty layer ensures that the buffer is empty before
> suspending...would be interesting to know. In any case, any such bug

It doesn't - but calling tty_wait_until_sent(tty, some_timeout) will do
that for you providing you call it in a sleep capable context.

Alan
--
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/