diff options
-rw-r--r-- | arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h | 2 |
2 files changed, 2 insertions, 2 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 | } |
diff --git a/arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h index f5327264357c..043bfcf26c52 100644 --- a/arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf561/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 | } |