]> git.karo-electronics.de Git - linux-beck.git/commit
serial: bfin-uart: Request CTS GPIO PIN when the serial device starts up.
authorSonic Zhang <sonic.zhang@analog.com>
Mon, 5 Dec 2011 07:12:50 +0000 (15:12 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 10 Dec 2011 03:05:32 +0000 (19:05 -0800)
commit32b4456877319fed8d5630f3db011097fd3cf7a8
tree88b8cf97f789a8f3123a3569b9b4c29709ba3520
parent7962fce9a052f34390b6dab9f11df1d2e48c138d
serial: bfin-uart: Request CTS GPIO PIN when the serial device starts up.

Serial device may be probed earlier before GPIOLIB is initialized. Requesting and
configuring CTS GPIO PIN fails in that early stage. Do it when the serial device
really starts up.

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_uart.c