[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080919155109.32dc282d@lxorguk.ukuu.org.uk>
Date: Fri, 19 Sep 2008 15:51:09 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Haavard Skinnemoen <haavard.skinnemoen@...el.com>
Cc: Anti Sullin <anti.sullin@...ecdesign.ee>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] AT91 Serial: update the powersave handler to match
serial core
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists