]> 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)
commit59dacf40f086117b263f84907a44b92c6637d21b
tree0fac564b4e80ab5dd5007a93673513c9dca1d55d
parentafd28038c706487addbbe52d35eafaf2753263c5
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