commit | e1c609efbc0333840f2af2d875ca52ed8ee18587 | [log] [tgz] |
---|---|---|
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | Fri Mar 14 14:54:13 2008 +0100 |
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | Wed Jul 02 11:05:00 2008 +0200 |
tree | 29839e026441063433828813b6758a16aa88e9a6 | |
parent | f826caa44902ddbe93174f0b642d8abf9698c08e [diff] |
atmel_serial: Drain console TX shifter before suspending Funny things may happen if we stop the USART clock before the shifter is empty. Prevent this from happening by waiting until the shifter is completely drained before allowing suspend to continue. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Cc: Andrew Victor <linux@maxim.org.za>