[PATCH] serial/uartlite: Only enable port if request_port succeeded
commite21654a756177bf209d7a3cbe971f16104555f75
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 22 Dec 2006 15:38:40 +0000 (22 16:38 +0100)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 22 Dec 2006 17:58:48 +0000 (22 09:58 -0800)
tree47275c784e126b93c47aaf32e0c42f42459e6dea
parentb2b2cbc4b2a2f389442549399a993a8306420baf
[PATCH] serial/uartlite: Only enable port if request_port succeeded

The uartlite driver used to always enable the port even if request_port
failed causing havoc. This patch fixes it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/serial/uartlite.c