aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-bf533/include
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2008-10-13 17:42:12 +0800
committerBryan Wu <cooloney@kernel.org>2008-10-13 17:42:12 +0800
commitdeffc6edacb74f080ca5918ef9c2cd30c2c9686e (patch)
tree32c9ae113744cbe9d4a9de5edb1a14bc767c11db /arch/blackfin/mach-bf533/include
parent04ab591808565f968d4406f6435090ad671ebdab (diff)
Blackfin arch: fix bug - some serial header files set RTS to an input when they should all be outputs
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-bf533/include')
-rw-r--r--arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h
index 34ab0e4e424..f3d9e495230 100644
--- a/arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h
+++ b/arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h
@@ -158,7 +158,7 @@ static void bfin_serial_hw_init(struct bfin_serial_port *uart)
}
if (uart->rts_pin >= 0) {
gpio_request(uart->rts_pin, DRIVER_NAME);
- gpio_direction_input(uart->rts_pin, 0);
+ gpio_direction_output(uart->rts_pin, 0);
}
#endif
}