Skip to content

Commit

Permalink
Blackfin arch: fix bug - some serial header files set RTS to an input…
Browse files Browse the repository at this point in the history
… when they should all be outputs

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Sonic Zhang authored and Bryan Wu committed Oct 13, 2008
1 parent 04ab591 commit deffc6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit deffc6e

Please sign in to comment.