]> git.baikalelectronics.ru Git - kernel.git/commit
serial: bfin-sport-uart: Request CTS GPIO PIN when the sport emulated serial device...
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 6 Dec 2011 07:16:34 +0000 (15:16 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 10 Dec 2011 03:05:33 +0000 (19:05 -0800)
commit5314edb7655d88685e80267b146cf45455a4737a
tree0fac564b4e80ab5dd5007a93673513c9dca1d55d
parent51741a0b09cd3168ea774ea14400b04d82c812e4
serial: bfin-sport-uart: Request CTS GPIO PIN when the sport emulated serial device starts up.

This patch is similar to that for bfin-uart hardware flow control.
Sport emulated serial device may be probed earlier before GPIOLIB is initialized.
Requesting and configuring CTS GPIO PIN fails in that early stage.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/bfin_sport_uart.c