summaryrefslogtreecommitdiffstats
path: root/scripts/basic
diff options
context:
space:
mode:
authorMarc Pignat <marc.pignat@hevs.ch>2008-04-02 13:04:42 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-02 15:28:19 -0700
commit39d4c922b596633da86878b1a5cc881785b8e5fa (patch)
treec2100914ee0c73e3703905db1818c5f5fd04f97a /scripts/basic
parentba0657ff0527bab83387e19eb98b423fcc290674 (diff)
downloadlinux-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