[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080919171115.08594550@hskinnemo-gx745.norway.atmel.com>
Date: Fri, 19 Sep 2008 17:11:15 +0200
From: Haavard Skinnemoen <haavard.skinnemoen@...el.com>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
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
Alan Cox <alan@...rguk.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
--
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