]> err.no Git - linux-2.6/commit
[SERIAL] returning proper error from serial core driver
authorRam Gupta <ram.gupta5@gmail.com>
Tue, 15 Aug 2006 06:05:29 +0000 (23:05 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Oct 2006 16:07:00 +0000 (17:07 +0100)
commit80e3c2b659515ef236f33f691ff5b22ae90ae8e4
tree22a703b601180dde953f0547b2660cbac1db76ec
parent6c6a2334a1e8af7c3eaab992732825fa9ade77cf
[SERIAL] returning proper error from serial core driver

Fix the issue of returning 0 even in case of error from uart_set_info
function.  Now it returns the error EBUSY when it can not set new port.

Signed-off-by: Ram Gupta <r.gupta@astronautics.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/serial_core.c