greybus: loopback: return the right error value
authorAlex Elder <elder@linaro.org>
Tue, 12 May 2015 02:16:35 +0000 (21:16 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 12 May 2015 17:25:14 +0000 (10:25 -0700)
commit69f6034792faf0f930f3797a0a3c3c9cf9ac73cc
treef26ea1efd5bb7d5f8d565a73b9525877f9f186ab
parenta04c640e5cf342a491afc06b0d931b7a046aa76b
greybus: loopback: return the right error value

If an error occurs starting up the loopback thread, the error code
is not extracted properly.  Fix that.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/loopback.c