diff options
author | Haavard Skinnemoen <[email protected]> | 2008-03-14 14:54:13 +0100 |
---|---|---|
committer | Haavard Skinnemoen <[email protected]> | 2008-07-02 11:05:00 +0200 |
commit | e1c609efbc0333840f2af2d875ca52ed8ee18587 (patch) | |
tree | 29839e026441063433828813b6758a16aa88e9a6 /lib/string_helpers.c | |
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 <[email protected]>
Cc: Andrew Victor <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions