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)
commitdc8f3703e733f4f48553076c8615aeb004351662
tree0fac564b4e80ab5dd5007a93673513c9dca1d55d
parent07143eaefd025098089edee7047714f6604a4a21
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