]> err.no Git - linux-2.6/commit
USB: mos7840: test and propagate set_uart_reg return value
authorRoel Kluin <12o3l@tiscali.nl>
Thu, 17 Apr 2008 04:16:24 +0000 (06:16 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 2 May 2008 17:25:53 +0000 (10:25 -0700)
commit87521c46f63f0e1cac2bf8af08942ac47bb25de5
tree2b90f02af6ef108028f4ab1afa53a10bc3cc4ed1
parent28ffd79c31a7bed6f610511a4d104d1255cd1d95
USB: mos7840: test and propagate set_uart_reg return value

The test for an mos7840_set_uart_reg() error return value only works when
status is signed. propagate its error value.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Cc: SL Baur <steve@xemacs.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7840.c