diff options
author | Marc Pignat <marc.pignat@hevs.ch> | 2008-04-02 13:04:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-02 15:28:19 -0700 |
commit | 39d4c922b596633da86878b1a5cc881785b8e5fa (patch) | |
tree | c2100914ee0c73e3703905db1818c5f5fd04f97a /scripts/basic | |
parent | ba0657ff0527bab83387e19eb98b423fcc290674 (diff) | |
download | linux-39d4c922b596633da86878b1a5cc881785b8e5fa.tar.bz2 |
atmel_serial: fix uart/console concurrent access
Strange chars appear on the serial port when a printk and a printf
happens at the same time. This is caused by the pdc sending chars while
atmel_console_write (called from printk) is executing
Concurent access of uart and console to the same port leads to corrupted
data to be transmitted, so disable tx dma (PDC) while writing to the
console.
Signed-off-by: Marc Pignat <marc.pignat@hevs.ch>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions