projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32b4456
)
serial: bfin-uart: Add tty ASYNC_CTS_FLOW flag to do CTS flow control.
author
Sonic Zhang
<sonic.zhang@analog.com>
Mon, 5 Dec 2011 10:13:10 +0000
(18:13 +0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sat, 10 Dec 2011 03:05:32 +0000
(19:05 -0800)
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/bfin_uart.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/serial/bfin_uart.c
b/drivers/tty/serial/bfin_uart.c
index ff5a1dc43e08d9e0aeaf24491f636f02cd465c59..f24f8a2073d97d4673ceed106deddce9cf758baf 100644
(file)
--- a/
drivers/tty/serial/bfin_uart.c
+++ b/
drivers/tty/serial/bfin_uart.c
@@
-1377,8
+1377,10
@@
static int bfin_serial_probe(struct platform_device *pdev)
res = platform_get_resource(pdev, IORESOURCE_IO, 0);
if (res == NULL)
uart->cts_pin = -1;
- else
+ else
{
uart->cts_pin = res->start;
+ uart->port.flags |= ASYNC_CTS_FLOW;
+ }
res = platform_get_resource(pdev, IORESOURCE_IO, 1);
if (res == NULL)