diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2008-10-13 05:42:12 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-10-13 05:42:12 -0400 |
commit | deffc6edacb74f080ca5918ef9c2cd30c2c9686e (patch) | |
tree | 32c9ae113744cbe9d4a9de5edb1a14bc767c11db /arch/blackfin/mach-bf533 | |
parent | 04ab591808565f968d4406f6435090ad671ebdab (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')
-rw-r--r-- | arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h | 2 |
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 34ab0e4e4242..f3d9e495230c 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) | |||
158 | } | 158 | } |
159 | if (uart->rts_pin >= 0) { | 159 | if (uart->rts_pin >= 0) { |
160 | gpio_request(uart->rts_pin, DRIVER_NAME); | 160 | gpio_request(uart->rts_pin, DRIVER_NAME); |
161 | gpio_direction_input(uart->rts_pin, 0); | 161 | gpio_direction_output(uart->rts_pin, 0); |
162 | } | 162 | } |
163 | #endif | 163 | #endif |
164 | } | 164 | } |