mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
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>
This commit is contained in:
parent
04ab591808
commit
deffc6edac
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue