From: Marc Pignat Date: Wed, 2 Apr 2008 20:04:42 +0000 (-0700) Subject: atmel_serial: fix uart/console concurrent access X-Git-Tag: v2.6.25-rc9~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39d4c922b596633da86878b1a5cc881785b8e5fa;p=pandora-kernel.git 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 Signed-off-by: Haavard Skinnemoen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed