git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6
[pandora-kernel.git]
/
drivers
/
tty
/
serial
/
s5pv210.c
diff --git
a/drivers/tty/serial/s5pv210.c
b/drivers/tty/serial/s5pv210.c
index
8dd160c
..
8b0b888
100644
(file)
--- a/
drivers/tty/serial/s5pv210.c
+++ b/
drivers/tty/serial/s5pv210.c
@@
-18,6
+18,7
@@
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial.h>
+#include <linux/delay.h>
#include <asm/irq.h>
#include <mach/hardware.h>
#include <asm/irq.h>
#include <mach/hardware.h>
@@
-83,6
+84,9
@@
static int s5pv210_serial_resetport(struct uart_port *port,
wr_regl(port, S3C2410_UFCON, cfg->ufcon | S3C2410_UFCON_RESETBOTH);
wr_regl(port, S3C2410_UFCON, cfg->ufcon);
wr_regl(port, S3C2410_UFCON, cfg->ufcon | S3C2410_UFCON_RESETBOTH);
wr_regl(port, S3C2410_UFCON, cfg->ufcon);
+ /* It is need to delay When reset FIFO register */
+ udelay(1);
+
return 0;
}
return 0;
}