staging: unisys: visorbus: don't ignore visorchannel_read error
authorDavid Kershner <david.kershner@unisys.com>
Tue, 28 Mar 2017 13:34:51 +0000 (09:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2017 07:17:03 +0000 (09:17 +0200)
commit711c67f4ecc81a8b1ebf26844c5874888078ed46
tree38c2b02efa30f5f5b86730e076f937b5a313a33d
parente0d210ae5fddfdc9a657ea5a21de9d54f8315336
staging: unisys: visorbus: don't ignore visorchannel_read error

Don't override the visorchannel_read_error, just return the
error that it generates.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c