diff options
author | Greg Kroah-Hartman <gregkh@google.com> | 2016-01-20 22:51:49 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-01-23 17:38:33 -0800 |
commit | ed7279ae31b0a0a97e832bdd0eb6edb31ec2736f (patch) | |
tree | e10ffdca830b3e6ba3189e7f66e9cfdd7f345278 /drivers/staging/greybus/Makefile | |
parent | 0f65fb1ea268a7268ab97a92d172d26d960a5d92 (diff) | |
download | linux-ed7279ae31b0a0a97e832bdd0eb6edb31ec2736f.tar.bz2 |
greybus: svc: add a "watchdog" to check the network health
Now that we have a svc ping command, let's add a watchdog to call it
every so often (1 second at the moment.) If it finds something went
wrong, post a stern message to the kernel log and call:
start unipro_reset
to reset the whole greybus hardware subsystem.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/Makefile')
-rw-r--r-- | drivers/staging/greybus/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile index 1e24509bdb4d..1e45416a2796 100644 --- a/drivers/staging/greybus/Makefile +++ b/drivers/staging/greybus/Makefile @@ -8,6 +8,7 @@ greybus-y := core.o \ protocol.o \ control.o \ svc.o \ + svc_watchdog.o \ firmware.o \ operation.o \ legacy.o |