]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: svc: return proper error code on watchdog create error
authorGreg Kroah-Hartman <gregkh@google.com>
Sun, 24 Jan 2016 01:36:00 +0000 (17:36 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Sun, 24 Jan 2016 01:38:45 +0000 (17:38 -0800)
commit539d6e11d266bceb597bc416060f9f2888bbd89f
treea6deeb62f8b787e54987bfe5ad1aaf577bc4b78c
parented7279ae31b0a0a97e832bdd0eb6edb31ec2736f
greybus: svc: return proper error code on watchdog create error

When the watchdog is not created properly, we need to propagate the
error for this and not just return success.

Reported-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/svc.c