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:
dc8f370
)
serial: bfin-sport-uart: Add tty ASYNC_CTS_FLOW flag to do CTS flow control.
author
Sonic Zhang
<sonic.zhang@analog.com>
Tue, 6 Dec 2011 08:22:34 +0000
(16:22 +0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sat, 10 Dec 2011 03:05:33 +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_sport_uart.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/serial/bfin_sport_uart.c
b/drivers/tty/serial/bfin_sport_uart.c
index f6505264ad45c935df6ee2297d1f0331d9676805..7fbc3a08f10d7f7c16a6b79e833140ce33235f10 100644
(file)
--- a/
drivers/tty/serial/bfin_sport_uart.c
+++ b/
drivers/tty/serial/bfin_sport_uart.c
@@
-810,8
+810,10
@@
static int __devinit sport_uart_probe(struct platform_device *pdev)
res = platform_get_resource(pdev, IORESOURCE_IO, 0);
if (res == NULL)
sport->cts_pin = -1;
- else
+ else
{
sport->cts_pin = res->start;
+ sport->port.flags |= ASYNC_CTS_FLOW;
+ }
res = platform_get_resource(pdev, IORESOURCE_IO, 1);
if (res == NULL)