Messages in this thread | | | Date | Fri, 19 Sep 2008 17:11:15 +0200 | From | Haavard Skinnemoen <> | Subject | Re: [PATCH] AT91 Serial: update the powersave handler to match serial core |
| |
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote: > > 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.
Looks like it doesn't matter -- the serial core shuts the port down completely, which will among other things disable the DMA controller.
Haavard
| |